Continued:
[core.git] / framework / main / exceptions / helper / class_FormOpenedException.php
index 7e172479b2adb10cd6f45eea0e75f520cb3e6bb2..a0332a57a7144a9147dc14230d055e29652a1535 100644 (file)
@@ -12,7 +12,7 @@ use Org\Mxchange\CoreFramework\Helper\BaseHelper;
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Core Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2023 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @deprecated Don't use this anymore
@@ -38,7 +38,7 @@ class FormOpenedException extends FrameworkException {
         * @param       $code                           Code number for the exception
         * @return      void
         */
-       public function __construct (BaseHelper $helperInstance, $code) {
+       public function __construct (BaseHelper $helperInstance, int $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.',
                        $helperInstance->__toString(),