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