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 Apr 28, 2024
1 parent c0ebdd6 commit 95e4b47
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 @@ -15,7 +15,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 95e4b47

Please sign in to comment.