From: Roland Häder Date: Sun, 10 Jul 2022 11:12:39 +0000 (+0200) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=fcab9400e746a6d4b0b36fce2452c99973256149;p=core.git Continued: - old-lost method BaseFrameworkSystem::replaceControlCharacters() removed --- diff --git a/framework/config/class_FrameworkConfiguration.php b/framework/config/class_FrameworkConfiguration.php index 8412dcaa..d5d400d0 100644 --- a/framework/config/class_FrameworkConfiguration.php +++ b/framework/config/class_FrameworkConfiguration.php @@ -15,7 +15,7 @@ use Org\Mxchange\CoreFramework\Utils\Strings\StringUtils; use \InvalidArgumentException; /** - * A class for the configuration stuff implemented in a singleton design paddern + * A class for the configuration stuff implemented in a singleton design pattern * * NOTE: We cannot put this in framework/main/ because it would be loaded (again) in * class loader. See framework/loader/class_ClassLoader.php for instance diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 18c13c09..35add654 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -543,25 +543,6 @@ Loaded includes: )); } - /** - * Replaces control characters with printable output - * - * @param $str String with control characters - * @return $str Replaced string - */ - protected function replaceControlCharacters (string $str) { - // Replace them - $str = str_replace( - chr(13), '[r]', str_replace( - chr(10), '[n]', str_replace( - chr(9) , '[t]', - $str - ))); - - // Return it - return $str; - } - /** * Output a partial stub message for the caller method *