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:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user