]> git.mxchange.org Git - core.git/blobdiff - framework/main/exceptions/main/class_NullPointerException.php
Continued:
[core.git] / framework / main / exceptions / main / class_NullPointerException.php
index 62b1e3417ebc1b27f3a36257db5a19d65d912157..7d456a877abd07bb04fd14f419f5dc50629586f9 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 NullPointerException extends FrameworkException {
         * @param       $code   Code number for the exception
         * @return      void
         */
-       public function __construct (FrameworkInterface $class = NULL, $code) {
+       public function __construct (FrameworkInterface $class = NULL, int $code) {
                // Is the instance set?
                if (is_null($class)) {
                        // Add a message around the missing class