From 687007b9a768f9552cb21d17f59818d3a582e62a 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 c3e8f40..429583f 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 {