]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/peer/class_PeerSocketException.php
type hints added
[hub.git] / application / hub / exceptions / socket / peer / class_PeerSocketException.php
index 9d1278d2ffa87a28b8ea49ea45aa4fbc471795c6..b5f40eddda6ecf6f027e385c8a323536fd573fea 100644 (file)
@@ -28,7 +28,7 @@ class PeerSocketException 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] Peer-Socket ist ung&uuml;ltig. Datentyp: <u>%s</u><br />\n",
                        $msgArray['this']->__toString(),