]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/helper/class_InvalidFormNameException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / helper / class_InvalidFormNameException.php
index 00c36a25f10c5080a8342d42cd348344ca36df63..f6bab92f5fde6c014b3d32edfa0dc7049108f8ce 100644 (file)
@@ -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()
                );