We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6de1ae commit f0de699Copy full SHA for f0de699
src/DataWriter/Rewrite.php
@@ -212,7 +212,7 @@ protected function buildArrayOpeningExpression(array $arrayItems): string
212
}
213
214
// Capture all opening array (non greedy)
215
- $result = '(' . implode('[\s\S]*', $itemOpen) . '[\s\S]*?)';
+ $result = '(' . implode('[\s\S]*?', $itemOpen) . '[\s\S]*?)';
216
217
else {
218
// Gotta capture something for $1
0 commit comments