]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php
type hints added
[hub.git] / application / hub / exceptions / commands / class_UnexpectedAwaitCommandException.php
index f5b916eb7f57d3f07a5c1208312d1d672f7137d7..cc4c790290b8c490a4acaa74915d116eb56fd667 100644 (file)
@@ -28,7 +28,7 @@ class UnexpectedAwaitCommandException 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] Not awaiting command %s from peer %s<br />\n",
                        $msgArray['this']->__toString(),