diff --git a/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php b/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php index e713fe86c7c..f3da0832956 100644 --- a/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php +++ b/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php @@ -49,7 +49,7 @@ public function run() CODE_SAMPLE , [ - 'collection' => ['Collection'], + 'collection' => 'Collection', ] ), ]);