]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/connector/class_SocketSelectorException.php
type hints added
[hub.git] / application / hub / exceptions / socket / connector / class_SocketSelectorException.php
index 38234ae3a8d2e8ba9ed98e46cc689442980e4ee7..83f7d8ade8a05ec3e982beaf9b06ddee249c8132 100644 (file)
@@ -28,7 +28,7 @@ class SocketSelectorException 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_select() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
                        $msgArray['this']->__toString(),