X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_FormGroupClosedException.php;fp=framework%2Fmain%2Fexceptions%2Fhelper%2Fclass_FormGroupClosedException.php;h=5bf7ebe593ee20d4c56dbed68c2de8b049912e6c;hb=498e6b065ce47804bff4e1073592a2cc8e28f8ef;hp=9be2ed6e838b5ecaf5564c3a47a35a948cbd2f2b;hpb=8a70226bd287a3f13b27932e2ec88d16c51c7e39;p=core.git diff --git a/framework/main/exceptions/helper/class_FormGroupClosedException.php b/framework/main/exceptions/helper/class_FormGroupClosedException.php index 9be2ed6e..5bf7ebe5 100644 --- a/framework/main/exceptions/helper/class_FormGroupClosedException.php +++ b/framework/main/exceptions/helper/class_FormGroupClosedException.php @@ -36,7 +36,7 @@ class FormGroupClosedException extends FrameworkException { * @param $code Code number for the exception * @return void */ - public function __construct (array $classArray, $code) { + public function __construct (array $classArray, int $code) { // Add a message around the missing class $message = sprintf('[%s:%d] Could not add sub group %s because no form group has been opened before.', $classArray[0]->__toString(),