Skip to content

Commit

Permalink
Update Socket.php
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusan authored Dec 16, 2020
1 parent bed1714 commit a93e627
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Socket.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class Socket

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

Expand Down

0 comments on commit a93e627

Please sign in to comment.