Skip to content

Commit c01a6e1

Browse files
committed
update DOCS
1 parent 9ca376a commit c01a6e1

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

docs/AllRectorsOverview.md

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,20 +1540,6 @@ String cannot be turned into array by assignment anymore
15401540

15411541
<br>
15421542

1543-
### `NullCoalescingOperatorRector`
1544-
1545-
- class: `Rector\Php\Rector\Assign\NullCoalescingOperatorRector`
1546-
1547-
Use null coalescing operator ??=
1548-
1549-
```diff
1550-
$array = [];
1551-
-$array['user_id'] = $array['user_id'] ?? 'value';
1552-
+$array['user_id'] ??= 'value';
1553-
```
1554-
1555-
<br>
1556-
15571543
### `MysqlAssignToMysqliRector`
15581544

15591545
- class: `Rector\Php\Rector\Assign\MysqlAssignToMysqliRector`
@@ -2058,7 +2044,7 @@ Changes property `@var` annotations from annotation to type.
20582044

20592045
- class: `Rector\Php\Rector\FunctionLike\ReturnTypeDeclarationRector`
20602046

2061-
Change @return types to scalar typehints if not a BC-break
2047+
Change @return types and type from static analysis to type declarations if not a BC-break
20622048

20632049
```diff
20642050
<?php
@@ -2081,7 +2067,7 @@ Change @return types to scalar typehints if not a BC-break
20812067

20822068
- class: `Rector\Php\Rector\FunctionLike\ParamTypeDeclarationRector`
20832069

2084-
Change @param types to scalar typehints if not a BC-break
2070+
Change @param types to type declarations if not a BC-break
20852071

20862072
```diff
20872073
<?php

0 commit comments

Comments
 (0)