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 Dec 9, 2023
1 parent 47015ff commit 87821cf
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/ComponentModel/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
*
* Components are objects implementing IComponent. They has parent component and own name.
*
* @property-read string $name
* @property-read IContainer|null $parent
* @property-deprecated string $name
* @property-deprecated IContainer|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 @@ -15,7 +15,7 @@
/**
* ComponentContainer is default implementation of IContainer.
*
* @property-read \Iterator $components
* @property-deprecated \Iterator $components
*/
class Container extends Component implements IContainer
{
Expand Down

0 comments on commit 87821cf

Please sign in to comment.