Continued:
[core.git] / framework / main / exceptions / class_
index 2af02c8d0f533a48d290eedb26a2a3d5ef54eb08..ec3232e1932d5cb54db05795ee49c47fe7425562 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.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.ship-simu.org
  *
@@ -29,7 +29,7 @@ class ???Exception extends FrameworkException {
         * @param       $code           Error code
         * @return      void
         */
-       public function __construct ($message, $code) {
+       public function __construct (string $message, int $code) {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }