]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/helper/class_FormOpenedException.php
Continued:
[core.git] / framework / main / exceptions / helper / class_FormOpenedException.php
index 74fa1d9baf57c7dfd752bf29e4a34287a80ce3fa..a2d97b08bf3dc9623774cebc7b6855f043364e81 100644 (file)
@@ -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(),