Skip to content

Commit 65b115a

Browse files
committed
deprecated magic properties (BC break)
1 parent 80f41f7 commit 65b115a

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
@@ -15,7 +15,7 @@
1515
/**
1616
* Assignment or calling statement.
1717
*
18-
* @property string|array|Definition|Reference|null $entity
18+
* @property-deprecated string|array|Definition|Reference|null $entity
1919
*/
2020
final class Statement implements Nette\Schema\DynamicParameter
2121
{

0 commit comments

Comments
 (0)