]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/socket/class_SocketCreationException.php
Continued:
[core.git] / framework / main / exceptions / socket / class_SocketCreationException.php
index 0d7a34ec58e350556d5aa5d5e198eb94fd8dcfb4..2955d024500400e80ab5d50ae7f3e2b7b5e75e5c 100644 (file)
@@ -34,7 +34,7 @@ class SocketCreationException 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:] Cannot create socket, type=%s, errno=%s, errstr=%s',
                        $messageData[0]->__toString(),