Movee Formatters to Type factory

Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
davidarendsen 2022-08-16 15:06:32 +00:00
commit 4abd95f303
12 changed files with 40 additions and 68 deletions

View file

@ -2,7 +2,7 @@
namespace Arendsen\FluxQueryBuilder\Functions;
use Arendsen\FluxQueryBuilder\Formatters;
use Arendsen\FluxQueryBuilder\Type;
class Group extends Base
{
@ -24,7 +24,7 @@ class Group extends Base
public function __toString()
{
$array = Formatters::toFluxArrayString([
$array = new Type([
'columns' => $this->columns,
'mode' => $this->mode,
]);