Skip to content

Commit efd4d78

Browse files
authored
[Transform] Fix example config on FuncCallToNewRector (#7196)
1 parent 3cf0944 commit efd4d78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rules/Transform/Rector/FuncCall/FuncCallToNewRector.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public function run()
4949
CODE_SAMPLE
5050
,
5151
[
52-
'collection' => ['Collection'],
52+
'collection' => 'Collection',
5353
]
5454
),
5555
]);

0 commit comments

Comments
 (0)