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.
writeArrayToPhp()
string
1 parent 6f68ccf commit ef998c3Copy full SHA for ef998c3
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