X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketOperationException.php;fp=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketOperationException.php;h=8e607fe303bc568578ddcc4bbffa2e7641d9a5d3;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=3c189b5118ed310936bd6dbd016b874fb6a50308;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39;p=core.git diff --git a/framework/main/exceptions/socket/class_SocketOperationException.php b/framework/main/exceptions/socket/class_SocketOperationException.php index 3c189b51..8e607fe3 100644 --- a/framework/main/exceptions/socket/class_SocketOperationException.php +++ b/framework/main/exceptions/socket/class_SocketOperationException.php @@ -32,7 +32,7 @@ class SocketOperationException extends AbstractSocketException { * @param $code Error code * @return void */ - public function __construct (array $messageData, $code) { + public function __construct (array $messageData, int $code) { // Construct the message $message = sprintf('[%s:] Socket operation failed, type=%s, errno=%s, errstr=%s', $messageData[0]->__toString(),