File tree Expand file tree Collapse file tree 1 file changed +2
-16
lines changed
Expand file tree Collapse file tree 1 file changed +2
-16
lines changed Original file line number Diff line number Diff 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\P hp\R ector\A ssign\N ullCoalescingOperatorRector`
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\P hp\R ector\A ssign\M ysqlAssignToMysqliRector`
@@ -2058,7 +2044,7 @@ Changes property `@var` annotations from annotation to type.
20582044
20592045- class : ` Rector\P hp\R ector\F unctionLike\R eturnTypeDeclarationRector`
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\P hp\R ector\F unctionLike\P aramTypeDeclarationRector`
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
You can’t perform that action at this time.
0 commit comments