Skip to content

Commit

Permalink
Fix SocketHandler::getChunkSize return type, fixes #1570, closes #1576
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Sep 14, 2021
1 parent 646f0c3 commit 4b47204
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Monolog/Handler/SocketHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class SocketHandler extends AbstractProcessingHandler
private $writingTimeout = 10.0;
/** @var ?int */
private $lastSentBytes = null;
/** @var int */
/** @var ?int */
private $chunkSize = null;
/** @var bool */
private $persistent = false;
Expand Down Expand Up @@ -197,7 +197,7 @@ public function getWritingTimeout(): float
/**
* Get current chunk size
*/
public function getChunkSize(): int
public function getChunkSize(): ?int
{
return $this->chunkSize;
}
Expand Down

0 comments on commit 4b47204

Please sign in to comment.