1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-08-06 05:07:36 +02:00

Merge pull request #807 from SalesChamp/master

Fix for TypeError within SocketHandler
This commit is contained in:
Jordi Boggiano
2016-06-15 17:41:46 +02:00
committed by GitHub

View File

@@ -216,7 +216,7 @@ class SocketHandler extends AbstractProcessingHandler
$seconds = floor($this->timeout);
$microseconds = round(($this->timeout - $seconds) * 1e6);
return stream_set_timeout($this->resource, $seconds, $microseconds);
return stream_set_timeout($this->resource, (int) $seconds, (int) $microseconds);
}
/**