From 45d88a630876915989917195a921448bafe53f20 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 24 Sep 2021 14:07:27 +0200 Subject: [PATCH] deprecated magic properties (BC break) --- src/DI/Definitions/ServiceDefinition.php | 6 +++--- src/DI/Definitions/Statement.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/DI/Definitions/ServiceDefinition.php b/src/DI/Definitions/ServiceDefinition.php index 62e028437..3279432d1 100644 --- a/src/DI/Definitions/ServiceDefinition.php +++ b/src/DI/Definitions/ServiceDefinition.php @@ -16,9 +16,9 @@ /** * Definition of standard service. * - * @property string|null $class - * @property Statement $factory - * @property Statement[] $setup + * @property-deprecated string|null $class + * @property-deprecated Statement $factory + * @property-deprecated Statement[] $setup */ final class ServiceDefinition extends Definition { diff --git a/src/DI/Definitions/Statement.php b/src/DI/Definitions/Statement.php index af6c4bc8d..6422107d9 100644 --- a/src/DI/Definitions/Statement.php +++ b/src/DI/Definitions/Statement.php @@ -16,7 +16,7 @@ /** * Assignment or calling statement. * - * @property string|array|Definition|Reference|null $entity + * @property-deprecated string|array|Definition|Reference|null $entity */ final class Statement {