Skip to content

Commit 3f317dc

Browse files
committed
deprecated Parameter::from() and Property::from()
1 parent 8b2a561 commit 3f317dc

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/PhpGenerator/Parameter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ class Parameter
3737

3838

3939
/**
40+
* @deprecated
4041
* @return static
4142
*/
4243
public static function from(\ReflectionParameter $from)

src/PhpGenerator/Property.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class Property extends Member
2323

2424

2525
/**
26+
* @deprecated
2627
* @return static
2728
*/
2829
public static function from(\ReflectionProperty $from)

0 commit comments

Comments
 (0)