diff --git a/core/lib/Drupal/Component/DependencyInjection/Container.php b/core/lib/Drupal/Component/DependencyInjection/Container.php index 4d071a6..bf74487 100644 --- a/core/lib/Drupal/Component/DependencyInjection/Container.php +++ b/core/lib/Drupal/Component/DependencyInjection/Container.php @@ -188,7 +188,7 @@ public function get($id, $invalid_behavior = ContainerInterface::EXCEPTION_ON_IN unset($this->services[$id]); } - if (self::EXCEPTION_ON_INVALID_REFERENCE !== $invalid_behavior) { + if (ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalid_behavior) { return; }