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 29, 2023
1 parent f9fac87 commit 0982df1
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
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
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 0982df1

Please sign in to comment.