]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/helper/class_NoGroupOpenedException.php
Continued:
[core.git] / framework / main / exceptions / helper / class_NoGroupOpenedException.php
index 4643f9f08713bf5646c809b0fb1eed76426a6c13..92ad7f6143a8a86af9820177fb48fd018c446e58 100644 (file)
@@ -32,16 +32,16 @@ class NoGroupOpenedException extends FrameworkException {
        /**
         * The constructor
         *
-        * @param       $msgArray       Array containing exception data
+        * @param       $messageArray   Array containing exception data
         * @param       $code           Code number for the exception
         * @return      void
         */
-       public function __construct (array $msgArray, $code) {
+       public function __construct (array $messageArray, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Group not opened before. Raw text follows: %s',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1]
+                       $messageArray[1]
                );
 
                // Call parent constructor