Skip to content

Commit

Permalink
add support to define writetimeout in ms
Browse files Browse the repository at this point in the history
  • Loading branch information
milospepper committed Nov 30, 2020
1 parent 1106f25 commit 38367d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Monolog/Handler/SocketHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ private function writeToSocket(string $data): void
}
}

private function writingIsTimedOut($sent)
private function writingIsTimedOut(int $sent): bool
{
// convert to ms
$writingTimeoutMs = $this->writingTimeout * 1000;
Expand Down

0 comments on commit 38367d3

Please sign in to comment.