]> git.mxchange.org Git - core.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sat, 14 Apr 2018 19:56:46 +0000 (21:56 +0200)
committerRoland Häder <roland@mxchange.org>
Sat, 14 Apr 2018 19:56:46 +0000 (21:56 +0200)
- fixed wrong constant reference, is now in FrameworkConfiguration

Signed-off-by: Roland Häder <roland@mxchange.org>
framework/main/classes/class_BaseFrameworkSystem.php

index 5875c00ff59cc6220d010da70a3c8ad93a83f7fd..3b29231e6362db413dd7afc639b1d55729c3985f 100644 (file)
@@ -1901,13 +1901,13 @@ Loaded includes:
                // Is it null?
                if (is_null($str)) {
                        // Throw NPE
-                       throw new NullPointerException($this, BaseFrameworkSystem::EXCEPTION_IS_NULL_POINTER);
+                       throw new NullPointerException($this, self::EXCEPTION_IS_NULL_POINTER);
                } elseif (!is_string($str)) {
                        // Entry is empty
-                       throw new InvalidArgumentException(sprintf('str[]=%s is not a string', gettype($str)), self::EXCEPTION_CONFIG_KEY_IS_EMPTY);
+                       throw new InvalidArgumentException(sprintf('str[]=%s is not a string', gettype($str)), FrameworkConfiguration::EXCEPTION_CONFIG_KEY_IS_EMPTY);
                } elseif ((is_string($str)) && (empty($str))) {
                        // Entry is empty
-                       throw new InvalidArgumentException('str is empty', self::EXCEPTION_CONFIG_KEY_IS_EMPTY);
+                       throw new InvalidArgumentException('str is empty', FrameworkConfiguration::EXCEPTION_CONFIG_KEY_IS_EMPTY);
                }
 
                // Convert them all