Rename namespace Function keyword to Functions to prevent errors
Signed-off-by: davidarendsen <davidarendsen@hey.com>
This commit is contained in:
parent
4c1a1a0af8
commit
79edee7400
19 changed files with 31 additions and 31 deletions
|
|
@ -1,18 +0,0 @@
|
|||
<?php
|
||||
declare(strict_types=1);
|
||||
|
||||
use Arendsen\FluxQueryBuilder\Function\Sort;
|
||||
use PHPUnit\Framework\TestCase;
|
||||
|
||||
final class SortFunctionTest extends TestCase {
|
||||
|
||||
public function testSimpleSort()
|
||||
{
|
||||
$expression = new Sort(['foo', 'bar'], true);
|
||||
|
||||
$query = '|> sort(columns: ["foo", "bar"], desc: true) ';
|
||||
|
||||
$this->assertEquals($query, $expression->__toString());
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue