X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;ds=sidebyside;f=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketBindingException.php;fp=framework%2Fmain%2Fexceptions%2Fsocket%2Fclass_SocketBindingException.php;h=b4376054d63d5504a0ec70b543e01419c5e55b6f;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=facf468257ad47a0105eeec472d43aaa26bc47a7;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39;p=core.git diff --git a/framework/main/exceptions/socket/class_SocketBindingException.php b/framework/main/exceptions/socket/class_SocketBindingException.php index facf4682..b4376054 100644 --- a/framework/main/exceptions/socket/class_SocketBindingException.php +++ b/framework/main/exceptions/socket/class_SocketBindingException.php @@ -31,7 +31,7 @@ class SocketBindingException 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:] Could not bind to socket %s: Type=%s, errno=%s, errstr=%s', $messageData[0]->__toString(),