Skip to content

Commit

Permalink
docs: add parameter documentation to SocketHandler#__construct
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Bösing <2189546+boesing@users.noreply.github.com>
  • Loading branch information
boesing committed Oct 5, 2021
1 parent a276f27 commit 8ca1cdb
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/Monolog/Handler/SocketHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,15 @@ class SocketHandler extends AbstractProcessingHandler
private $lastWritingAt = null;

/**
* @param string $connectionString Socket connection string
* @param string $connectionString Socket connection string
* @param bool $persistent Flag to enable/disable persistent connections
* @param float $timeout Socket timeout to wait until the request is being aborted
* @param float $writingTimeout Socket timeout to wait until the request should've been sent/written
* @param float|null $connectionTimeout Socket connect timeout to wait until the connection should've been
* established
* @param int|null $chunkSize Sets the chunk size. Only has effect during connection in the writing cycle
*
* @throws \InvalidArgumentException If an invalid timeout value (less than 0) is passed.
*/
public function __construct(
string $connectionString,
Expand Down

0 comments on commit 8ca1cdb

Please sign in to comment.