]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/init/class_SocketListeningException.php
type hints added
[hub.git] / application / hub / exceptions / socket / init / class_SocketListeningException.php
index 979b1b1ddde17d2aa320f4b98707056a02229e50..f6fce58ff6f0330b1e5b778374237611aaa8663b 100644 (file)
@@ -28,7 +28,7 @@ class SocketListeningException 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_listen() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
                        $msgArray['this']->__toString(),