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 Sep 23, 2023
1 parent 2fa82d9 commit 45d88a6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/DI/Definitions/ServiceDefinition.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@
/**
* Definition of standard service.
*
* @property string|null $class
* @property Statement $factory
* @property Statement[] $setup
* @property-deprecated string|null $class
* @property-deprecated Statement $factory
* @property-deprecated Statement[] $setup
*/
final class ServiceDefinition extends Definition
{
Expand Down
2 changes: 1 addition & 1 deletion src/DI/Definitions/Statement.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
/**
* Assignment or calling statement.
*
* @property string|array|Definition|Reference|null $entity
* @property-deprecated string|array|Definition|Reference|null $entity
*/
final class Statement
{
Expand Down

0 comments on commit 45d88a6

Please sign in to comment.