X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fhelper%2Fclass_InvalidFormNameException.php;h=f6bab92f5fde6c014b3d32edfa0dc7049108f8ce;hp=00c36a25f10c5080a8342d42cd348344ca36df63;hb=86553167136d11d44e1d938e964134c038785e3e;hpb=55b327a3f5f2fe1d244532e07be7444e94b2a768 diff --git a/inc/classes/exceptions/helper/class_InvalidFormNameException.php b/inc/classes/exceptions/helper/class_InvalidFormNameException.php index 00c36a2..f6bab92 100644 --- a/inc/classes/exceptions/helper/class_InvalidFormNameException.php +++ b/inc/classes/exceptions/helper/class_InvalidFormNameException.php @@ -25,14 +25,14 @@ class InvalidFormNameException extends FrameworkException { /** * The constructor * - * @param $class Class throwing the exception - * @param $code Code number for the exception + * @param $helperInstance Class throwing the exception + * @param $code Code number for the exception * @return void */ - public function __construct (BaseFrameworkSystem $class, $code) { + public function __construct (BaseHelper $helperInstance, $code) { // Add a message around the missing class $message = sprintf("[%s:%d] Form name not set.", - $class->__toString(), + $helperInstance->__toString(), $this->getLine() );