]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/init/class_SocketConnectException.php
type hints added
[hub.git] / application / hub / exceptions / socket / init / class_SocketConnectException.php
index 3059677e503bcea554b16bb9ccd82bbe67e3ad50..879cea4b628b3c65957455cf9331700a11301529 100644 (file)
@@ -28,7 +28,7 @@ class SocketConnectException 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_connect() has failed. Reason: <u>%s</u> (Code: <u>%d</u>)",
                        $msgArray['this']->__toString(),