Skip to content

Commit

Permalink
deprecated magic properties (BC break)
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Feb 8, 2024
1 parent 8e72bab commit f37f32d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ComponentModel/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @template T of IContainer
* @implements IComponent<T>
* @property-read string $name
* @property-read T|null $parent
* @property-deprecated T|null $parent
*/
abstract class Component implements IComponent
{
Expand Down
2 changes: 1 addition & 1 deletion src/ComponentModel/Container.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
*
* @template T of IComponent
* @implements IContainer<T>
* @property-read iterable $components
* @property-deprecated iterable $components
*/
class Container extends Component implements IContainer
{
Expand Down

0 comments on commit f37f32d

Please sign in to comment.