Skip to content

Commit

Permalink
Apply fixes from StyleCI (#881)
Browse files Browse the repository at this point in the history
Co-authored-by: StyleCI Bot <bot@styleci.io>
  • Loading branch information
yajra and StyleCIBot authored Aug 11, 2024
1 parent eef2787 commit d2728a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Database/Oci8QueryBuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1164,7 +1164,7 @@ public function testLimitsAndOffsets()
public function testLimitAndOffsetFromSub()
{
$builder = $this->getBuilder();
$builder->select('users.*')->fromSub(fn($query) => $query->from('users'), 'users')->limit(10);
$builder->select('users.*')->fromSub(fn ($query) => $query->from('users'), 'users')->limit(10);
$this->assertEquals(
'select "USERS".* from (select "USERS".*, row_number() over (order by ROWID) as rn from (select "USERS".* from (select * from "USERS") "USERS") "USERS") "USERS" where rn between 1 and 10',
$builder->toSql()
Expand Down

0 comments on commit d2728a0

Please sign in to comment.