mirror of
https://github.com/Seldaek/monolog.git
synced 2025-10-23 01:26:11 +02:00
Add a bunch of return types and fix type inconsistencies reports from phan
This commit is contained in:
@@ -33,7 +33,7 @@ class UdpSocket
|
||||
$this->send($this->assembleMessage($line, $header));
|
||||
}
|
||||
|
||||
public function close()
|
||||
public function close(): void
|
||||
{
|
||||
if (is_resource($this->socket)) {
|
||||
socket_close($this->socket);
|
||||
|
Reference in New Issue
Block a user