]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php
Continued:
[core.git] / framework / main / exceptions / helper / class_HelperNoPreviousOpenedSubGroupException.php
index 275499bf2fe960d8d7762f5b03ecb0ccc15e8b85..55bcdccd813ee15e52e59ad51b3954ebfe6b2aad 100644 (file)
@@ -1,16 +1,16 @@
 <?php
 // Own namespace
-namespace CoreFramework\Deprecated;
+namespace Org\Mxchange\CoreFramework\Deprecated;
 
 // Import framework stuff
-use CoreFramework\Generic\FrameworkException;
+use Org\Mxchange\CoreFramework\Generic\FrameworkException;
 
 /**
  * An exception thrown when no sub group was opened previously
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2020 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @deprecated Don't use this anymore
@@ -32,16 +32,16 @@ class HelperNoPreviousOpenedSubGroupException 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 not opened before. Raw text follows: %s',
-                       $msgArray[0]->__toString(),
+                       $messageArray[0]->__toString(),
                        $this->getLine(),
-                       $msgArray[1]
+                       $messageArray[1]
                );
 
                // Call parent constructor