Skip to content

Commit a93e627

Browse files
authored
Update Socket.php
1 parent bed1714 commit a93e627

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Socket.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Socket
2323

2424
public function __construct(string $host = 'localhost', int $port = 8000)
2525
{
26-
ob_implicit_flush(1);
26+
ob_implicit_flush(); // php7.x -> int, php8.x => bool, default 1 or true
2727
$this->createSocket($host, $port);
2828
}
2929

0 commit comments

Comments
 (0)