Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / translation / MessageSelector.php
index 31304cd0d89ed4b9b996cfa99bc0ef8f35f7d8e4..5de171c5f4a408c84d7b85453be7c271d69980ea 100644 (file)
@@ -82,7 +82,7 @@ class MessageSelector
         if (!isset($standardRules[$position])) {
             // when there's exactly one rule given, and that rule is a standard
             // rule, use this rule
-            if (1 === count($parts) && isset($standardRules[0])) {
+            if (1 === \count($parts) && isset($standardRules[0])) {
                 return $standardRules[0];
             }