]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/init/class_SocketCreationException.php
type hints added
[hub.git] / application / hub / exceptions / socket / init / class_SocketCreationException.php
index 2991fc06e8e9401784dd261c0452e809d094fd8a..eaeae36a3d8b740c70fca2ce6cf406d663b52636 100644 (file)
@@ -28,7 +28,7 @@ class SocketCreationException 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 konnte nicht erstellt werden. Reason: <u>%s</u> (Code: <u>%d</u>)", 
                        $msgArray['this']->__toString(),