]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/connector/class_SocketAcceptException.php
type hints added
[hub.git] / application / hub / exceptions / socket / connector / class_SocketAcceptException.php
index 70b1b7ebc955e06c6d167b79925518a756be06af..ba2d03b2953599a420ce9fe9903e5b663529b1ea 100644 (file)
@@ -28,7 +28,7 @@ class SocketAcceptException extends SocketException {
         * @param               $code           Code number for the exception
         * @return      void
         */
-       public final function __construct ($msgArray, $code) {
+       public final function __construct (array $msgArray, $code) {
                // Construct the message
                $message = sprintf("[%s:%d] socket_accept() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
                        $msgArray['this']->__toString(),