From f37f32d9c870ddce8c26cec40b41cc7418f98ae1 Mon Sep 17 00:00:00 2001 From: David Grudl Date: Fri, 24 Sep 2021 14:07:06 +0200 Subject: [PATCH] deprecated magic properties (BC break) --- src/ComponentModel/Component.php | 2 +- src/ComponentModel/Container.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ComponentModel/Component.php b/src/ComponentModel/Component.php index 962e71b..668a81b 100644 --- a/src/ComponentModel/Component.php +++ b/src/ComponentModel/Component.php @@ -20,7 +20,7 @@ * @template T of IContainer * @implements IComponent * @property-read string $name - * @property-read T|null $parent + * @property-deprecated T|null $parent */ abstract class Component implements IComponent { diff --git a/src/ComponentModel/Container.php b/src/ComponentModel/Container.php index 570caee..e8d5d29 100644 --- a/src/ComponentModel/Container.php +++ b/src/ComponentModel/Container.php @@ -17,7 +17,7 @@ * * @template T of IComponent * @implements IContainer - * @property-read iterable $components + * @property-deprecated iterable $components */ class Container extends Component implements IContainer {