diff --git a/core/lib/Drupal/Core/DependencyInjection/DeprecatedServicePropertyTrait.php b/core/lib/Drupal/Core/DependencyInjection/DeprecatedServicePropertyTrait.php index a72c45caee97ba629e3b02cddbb98c63c1cf9b90..52a4f70927e717ec25ab3b4667414995c1fa7c20 100644 --- a/core/lib/Drupal/Core/DependencyInjection/DeprecatedServicePropertyTrait.php +++ b/core/lib/Drupal/Core/DependencyInjection/DeprecatedServicePropertyTrait.php @@ -20,7 +20,7 @@ public function __get($name) { if (isset($this->deprecatedProperties[$name])) { $service_name = $this->deprecatedProperties[$name]; $class_name = static::class; - @trigger_error("The property $name ($service_name service) is deprecated in $class_name and will be removed before Drupal 10.0.0.", E_USER_DEPRECATED); + @trigger_error("The property $name ($service_name service) is deprecated in $class_name and will be removed before Drupal 11.0.0.", E_USER_DEPRECATED); return \Drupal::service($service_name); } }