Commit 60c69b4
authored
Fix AddGenericReturnTypeToRelationsRector on Rector 0.15.2 (#74)
Fix AddGenericReturnTypeToRelationsRector on Rector 0.15.2
On Rector 0.15.2 the test failed to run for no-phpdoc.php.inc.
This fix supports both 0.14.x and 0.15.x
It failed because of this change: rectorphp/rector-src@96c457b#diff-d12d9867614cdc1cab5c7942a80cafabd78d8e027d227f9ba1bc8ffeb6643f61L701 parent 7aae907 commit 60c69b4
File tree
1 file changed
+1
-5
lines changed- src/Rector/ClassMethod
1 file changed
+1
-5
lines changedLines changed: 1 addition & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | 19 | | |
21 | 20 | | |
22 | 21 | | |
| |||
101 | 100 | | |
102 | 101 | | |
103 | 102 | | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
| 103 | + | |
108 | 104 | | |
109 | 105 | | |
110 | 106 | | |
| |||
0 commit comments