Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / lib / Drupal / Core / Logger / LogMessageParser.php
index 8a67df12dcaf2a47ea10193f806e69cca908b098..690847e7d5556ad66225059109d60f174085b188 100644 (file)
@@ -16,7 +16,7 @@ class LogMessageParser implements LogMessageParserInterface {
     if (($start = strpos($message, '{')) !== FALSE && strpos($message, '}') > $start) {
       $has_psr3 = TRUE;
       // Transform PSR3 style messages containing placeholders to
-      // \Drupal\Component\Utility\SafeMarkup::format() style.
+      // \Drupal\Component\Render\FormattableMarkup style.
       $message = preg_replace('/\{(.*)\}/U', '@$1', $message);
     }
     foreach ($context as $key => $variable) {
@@ -30,7 +30,7 @@ class LogMessageParser implements LogMessageParserInterface {
         }
       }
       if (!empty($key) && ($key[0] === '@' || $key[0] === '%' || $key[0] === '!')) {
-        // The key is now in \Drupal\Component\Utility\SafeMarkup::format() style.
+        // The key is now in \Drupal\Component\Render\FormattableMarkup style.
         $variables[$key] = $variable;
       }
     }