]> git.mxchange.org Git - hub.git/blobdiff - application/hub/exceptions/commands/class_UnexpectedAwaitCommandException.php
External repository 'core' linked
[hub.git] / application / hub / exceptions / commands / class_UnexpectedAwaitCommandException.php
index f5b916eb7f57d3f07a5c1208312d1d672f7137d7..bbde25aa214da33572566335c6df661d1d5b810b 100644 (file)
@@ -28,12 +28,12 @@ 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(),
                        $this->getLine(),
-                       $msgArray['msg'],
+                       $msgArray['await'],
                        $msgArray['this']->getPeerInstance()->getValidatedIP()
                );