From 384eb9724a031ed971f4f2aaf3cf691dbfc1690d Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sat, 14 Apr 2018 21:56:46 +0200 Subject: [PATCH] Continued: - fixed wrong constant reference, is now in FrameworkConfiguration MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- framework/main/classes/class_BaseFrameworkSystem.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 5875c00f..3b29231e 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -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 -- 2.39.5