]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/socket/peer/class_BrokenPipeException.php
type hints added
[hub.git] / application / hub / exceptions / socket / peer / class_BrokenPipeException.php
index 8f7d1a88fd2923bbe0dbde6a38a381c1c44589fe..4217623b623d2023996968cd5ed7564d0baa4d8f 100644 (file)
@@ -28,7 +28,7 @@ class BrokenPipeException 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] Connection lost to peer <u>%s</u>. Error message: <u>%s</u> (Code: %d)<br />\n",
                        $msgArray['this']->__toString(),