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 Nov 13, 2023
1 parent 3ee04a2 commit 3498613
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 implements Nette\Schema\DynamicParameter
{
Expand Down

0 comments on commit 3498613

Please sign in to comment.