Skip to content

Commit 7f812f5

Browse files
committed
corrected function declaration of Socket::throwConnectException
1 parent 1136a11 commit 7f812f5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/connection/Socket.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,10 @@ private function configureTimeout(): void
142142
}
143143

144144
/**
145-
* @return mixed
146145
* @throws ConnectException
147146
* @throws ConnectionTimeoutException
148147
*/
149-
private function throwConnectException()
148+
private function throwConnectException(): void
150149
{
151150
$code = socket_last_error($this->socket);
152151
if ($code === self::RESOURCE_UNAVAILABLE_CODE) {

0 commit comments

Comments
 (0)