Skip to content

Commit 3498613

Browse files
committed
deprecated magic properties (BC break)
1 parent 3ee04a2 commit 3498613

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/DI/Definitions/ServiceDefinition.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
/**
1717
* Definition of standard service.
1818
*
19-
* @property string|null $class
20-
* @property Statement $factory
21-
* @property Statement[] $setup
19+
* @property-deprecated string|null $class
20+
* @property-deprecated Statement $factory
21+
* @property-deprecated Statement[] $setup
2222
*/
2323
final class ServiceDefinition extends Definition
2424
{

src/DI/Definitions/Statement.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
/**
1717
* Assignment or calling statement.
1818
*
19-
* @property string|array|Definition|Reference|null $entity
19+
* @property-deprecated string|array|Definition|Reference|null $entity
2020
*/
2121
final class Statement implements Nette\Schema\DynamicParameter
2222
{

0 commit comments

Comments
 (0)