]> git.mxchange.org Git - shipsimu.git/blobdiff - inc/classes/exceptions/helper/class_FormOpenedException.php
Type-hints fixed, header docs fixed, exceptions deprecated
[shipsimu.git] / inc / classes / exceptions / helper / class_FormOpenedException.php
index c2aafbd207d7219ea2669bd45b8562f9da8dd48f..48662ae8e9edd01e6d7ff084bdbdb0616a707c1e 100644 (file)
@@ -26,16 +26,16 @@ class FormOpenedException 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 is not yet closed. Close it with method <u>%s::addFormTag()</u> and add no parameters.",
-                       $class->__toString(),
+                       $helperInstance->__toString(),
                        $this->getLine(),
-                       $class->__toString()
+                       $helperInstance->__toString()
                );
 
                // Call parent constructor