X-Git-Url: https://git.mxchange.org/?p=shipsimu.git;a=blobdiff_plain;f=inc%2Fclasses%2Fexceptions%2Fmain%2Fclass_NullPointerException.php;h=489465a0d6585dcf1c54c0991b97c23f56e0002f;hp=45487d5d98b9c4ec3ebccc66a0b0dc1416513f5c;hb=903dcc58c2ae623af5b2865e28cc83f2a37288e5;hpb=6a235495afbc92d4116f94be590d40feb1ad7905 diff --git a/inc/classes/exceptions/main/class_NullPointerException.php b/inc/classes/exceptions/main/class_NullPointerException.php index 45487d5..489465a 100644 --- a/inc/classes/exceptions/main/class_NullPointerException.php +++ b/inc/classes/exceptions/main/class_NullPointerException.php @@ -29,7 +29,7 @@ class NullPointerException extends FrameworkException { * @param $code Code number for the exception * @return void */ - public final function __construct ($class, $code) { + public function __construct (BaseFrameworkSystem $class, $code) { // Add a message around the missing class $message = sprintf("[%s:%d] Eine Instanz/Pointer ist auf null gesetzt.", $class->__toString(),