Fix Formatters::valueToString when input is an array
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
2b5da2c65d
commit
009b2f2d53
5 changed files with 17 additions and 15 deletions
|
|
@ -25,7 +25,7 @@ class Reduce extends Base {
|
|||
public function __toString()
|
||||
{
|
||||
return '|> reduce(fn: (r, accumulator) => ({' . implode(', ', $this->formatSettings($this->settings)) . '}), ' .
|
||||
'identity: {' . Formatters::toFluxAssociativeArrayString($this->identity) . '}) ';
|
||||
'identity: {' . Formatters::toFluxArrayString($this->identity) . '}) ';
|
||||
}
|
||||
|
||||
protected function formatSettings(array $settings)
|
||||
|
|
|
|||
Loading…
Add table
editor.link_modal.header
Reference in a new issue