Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / vendor / symfony / dependency-injection / Compiler / ServiceReferenceGraph.php
index d040e66c4dac757777ff0bc6eea663d7ea4fca65..4d36ae7678f1545c0efd0e59a42348483fa27b77 100644 (file)
@@ -94,8 +94,8 @@ class ServiceReferenceGraph
      */
     public function connect($sourceId, $sourceValue, $destId, $destValue = null, $reference = null/*, bool $lazy = false, bool $weak = false*/)
     {
-        $lazy = func_num_args() >= 6 ? func_get_arg(5) : false;
-        $weak = func_num_args() >= 7 ? func_get_arg(6) : false;
+        $lazy = \func_num_args() >= 6 ? func_get_arg(5) : false;
+        $weak = \func_num_args() >= 7 ? func_get_arg(6) : false;
 
         if (null === $sourceId || null === $destId) {
             return;