Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / PriorityTaggedServiceTrait.php
index 04e6cc67a55d944a5b18cef94e0a66f523ad144f..ed9b0b7f1e9480c37c669d0d84de5d1ff8d15a75 100644 (file)
@@ -40,14 +40,14 @@ trait PriorityTaggedServiceTrait
     {
         $services = array();
 
-        foreach ($container->findTaggedServiceIds($tagName) as $serviceId => $attributes) {
+        foreach ($container->findTaggedServiceIds($tagName, true) as $serviceId => $attributes) {
             $priority = isset($attributes[0]['priority']) ? $attributes[0]['priority'] : 0;
             $services[$priority][] = new Reference($serviceId);
         }
 
         if ($services) {
             krsort($services);
-            $services = call_user_func_array('array_merge', $services);
+            $services = \call_user_func_array('array_merge', $services);
         }
 
         return $services;