]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/socket/class_SocketBindingException.php
Continued:
[core.git] / framework / main / exceptions / socket / class_SocketBindingException.php
index facf468257ad47a0105eeec472d43aaa26bc47a7..b4376054d63d5504a0ec70b543e01419c5e55b6f 100644 (file)
@@ -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(),