]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/client/class_HubPeerTimeoutException.php
type hints added
[hub.git] / application / hub / exceptions / client / class_HubPeerTimeoutException.php
index ead9caa6fffd4a1e521da396bc75139935e493da..312ea50dff88acda82638d67d24da4d30f5d3415 100644 (file)
@@ -28,7 +28,7 @@ class HubPeerTimeoutException extends HubException {
         * @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 <u>%s</u> is no longer responding. Trying to disconnect the peer...<br />\n",
                        $msgArray['this']->__toString(),