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 {