Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Exception / ServiceNotFoundException.php
index 59567074ccb2cf99ee3106e41176a23eaf4e5d04..9a0128c834647acd6c2615ce5396944e2e741c07 100644 (file)
@@ -35,7 +35,7 @@ class ServiceNotFoundException extends InvalidArgumentException implements NotFo
         }
 
         if ($alternatives) {
-            if (1 == count($alternatives)) {
+            if (1 == \count($alternatives)) {
                 $msg .= ' Did you mean this: "';
             } else {
                 $msg .= ' Did you mean one of these: "';