Add Formatters
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
eb6568de10
commit
328094d803
8 changed files with 61 additions and 31 deletions
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace Arendsen\FluxQueryBuilder\Function;
|
||||
|
||||
use Arendsen\FluxQueryBuilder\Formatters;
|
||||
|
||||
class Range extends Base {
|
||||
|
||||
/**
|
||||
|
|
@ -16,7 +18,7 @@ class Range extends Base {
|
|||
|
||||
public function __toString()
|
||||
{
|
||||
return '|> range(' . implode(', ', $this->format($this->settings)) . ') ';
|
||||
return '|> range(' . Formatters::toFluxAssociativeArrayString($this->settings) . ') ';
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue