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.
2 parents 6f68ccf + ef998c3 commit 44c6bdcCopy full SHA for 44c6bdc
src/DataWriter/Rewrite.php
@@ -132,7 +132,7 @@ protected function writeValueToPhp($value): string
132
return $replaceValue;
133
}
134
135
- protected function writeArrayToPhp(array $array): array
+ protected function writeArrayToPhp(array $array): string
136
{
137
$result = [];
138
@@ -143,8 +143,6 @@ protected function writeArrayToPhp(array $array): array
143
144
145
return '['.implode(', ', $result).']';
146
-
147
- return $result;
148
149
150
protected function buildStringExpression(string $targetKey, array $arrayItems = [], string $quoteChar = "'"): string
0 commit comments