Skip to content

Commit 22940ab

Browse files
committed
deprecated magic properties (BC break)
1 parent ebfec35 commit 22940ab

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/DI/Definitions/ServiceDefinition.php

+3-3
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

+1-1
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)