]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Strings.php
spelling: one
[friendica.git] / src / Util / Strings.php
index c5d5c760a382872631bd84ece791da33a223bed7..7b329151a1c85baec7d2ab4051facabcbc5343b4 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -511,7 +511,7 @@ class Strings
                );
 
                if (is_null($return)) {
-                       Logger::warning('Received null value from preg_replace_callback', ['text' => $text, 'regex' => $regex, 'blocks' => $blocks, 'executionId' => $executionId, 'callstack' => System::callstack(10)]);
+                       Logger::notice('Received null value from preg_replace_callback', ['text' => $text, 'regex' => $regex, 'blocks' => $blocks, 'executionId' => $executionId, 'callstack' => System::callstack(10)]);
                }
 
                $text = $callback($return ?? $text) ?? '';
@@ -532,7 +532,7 @@ class Strings
        }
 
        /**
-        * This function converts a PHP's shorhand notation string for file sizes in to an integer number of total bytes.
+        * This function converts a PHP's shorhand notation string for file sizes into an integer number of total bytes.
         * For example: The string for shorthand notation of '2M' (which is 2,097,152 Bytes) is converted to 2097152
         * @see https://www.php.net/manual/en/faq.using.php#faq.using.shorthandbytes
         * @param string $shorthand