X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_HelperNoPreviousOpenedSubGroupException.php;fp=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_HelperNoPreviousOpenedSubGroupException.php;h=55bcdccd813ee15e52e59ad51b3954ebfe6b2aad;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=b8a1353d635117441c3d6cfefa36945f872e4efc;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39;p=core.git diff --git a/framework/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php b/framework/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php index b8a1353d..55bcdccd 100644 --- a/framework/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php +++ b/framework/main/exceptions/helper/class_HelperNoPreviousOpenedSubGroupException.php @@ -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