]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/helper/class_HelperGroupAlreadyCreatedException.php
Continued:
[core.git] / framework / main / exceptions / helper / class_HelperGroupAlreadyCreatedException.php
index 744f2136666ecbb7d369469f0dfc703ec41c507f..91714a859760a2b27ee0d0ca627cfd8eabcc9f1f 100644 (file)
@@ -32,16 +32,16 @@ class HelperGroupAlreadyCreatedException 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 %s already opened before.',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1]
+                       $messageArray[1]
                );
 
                // Call parent constructor