Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / vendor / symfony / dependency-injection / Reference.php
index 3c8b314f5619fb25384b5891fdd7449a5d393d25..82906d2b7524c3b6654f5adf68ce9a58c685807d 100644 (file)
@@ -29,7 +29,7 @@ class Reference
      */
     public function __construct($id, $invalidBehavior = ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE)
     {
-        $this->id = strtolower($id);
+        $this->id = (string) $id;
         $this->invalidBehavior = $invalidBehavior;
     }