diff options
Diffstat (limited to 'tests/Components/OrderKeywordTest.php')
-rw-r--r-- | tests/Components/OrderKeywordTest.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/Components/OrderKeywordTest.php b/tests/Components/OrderKeywordTest.php index bc07d03..11468fb 100644 --- a/tests/Components/OrderKeywordTest.php +++ b/tests/Components/OrderKeywordTest.php @@ -1,4 +1,5 @@ <?php +declare(strict_types=1); namespace PhpMyAdmin\SqlParser\Tests\Components; @@ -12,10 +13,10 @@ class OrderKeywordTest extends TestCase { $this->assertEquals( OrderKeyword::build( - array( + [ new OrderKeyword(new Expression('a'), 'ASC'), - new OrderKeyword(new Expression('b'), 'DESC') - ) + new OrderKeyword(new Expression('b'), 'DESC'), + ] ), 'a ASC, b DESC' ); |