X-Git-Url: https://git.mxchange.org/?p=core.git;a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_NoGroupOpenedException.php;h=92ad7f6143a8a86af9820177fb48fd018c446e58;hp=4643f9f08713bf5646c809b0fb1eed76426a6c13;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39 diff --git a/framework/main/exceptions/helper/class_NoGroupOpenedException.php b/framework/main/exceptions/helper/class_NoGroupOpenedException.php index 4643f9f0..92ad7f61 100644 --- a/framework/main/exceptions/helper/class_NoGroupOpenedException.php +++ b/framework/main/exceptions/helper/class_NoGroupOpenedException.php @@ -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