Continued:
[core.git] / framework / main / exceptions / main / class_ResponseHeadersAlreadySentException.php
index b0dfeb53cb36fd0b3f4d6ffef96f6dae473da555..06995ae328a52137462033405a0ac1b935fe0a5c 100644 (file)
@@ -11,7 +11,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
  *
  * @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
  * 
@@ -36,7 +36,7 @@ class ResponseHeadersAlreadySentException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (FrameworkInterface $class, $code) {
+       public function __construct (FrameworkInterface $class, int $code) {
                // Add a message around the missing class
                $message = sprintf('[%s:%d] Headers are already sent.',
                        $class->__toString(),