Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Feb 11, 2024
1 parent 5984d34 commit 7803afb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions tests/Provider/QueryBuilderProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -1175,9 +1175,9 @@ public static function update(): array
],
'Expressions without params' => [
'{{product}}',
['name' => new Expression("UPPER([[name]])")],
['name' => new Expression('UPPER([[name]])')],
'[[name]] = :name',
['name' => new Expression("LOWER([[name]])")],
['name' => new Expression('LOWER([[name]])')],
DbHelper::replaceQuotes(
<<<SQL
UPDATE [[product]] SET [[name]]=UPPER([[name]]) WHERE [[name]] = LOWER([[name]])
Expand All @@ -1201,9 +1201,9 @@ public static function update(): array
],
'Expression without params and with params' => [
'{{product}}',
['name' => new Expression("UPPER([[name]])")],
['name' => new Expression('UPPER([[name]])')],
'[[name]] = :name',
['name' => new Expression("LOWER(:val)", [':val' => 'Apple'])],
['name' => new Expression('LOWER(:val)', [':val' => 'Apple'])],
DbHelper::replaceQuotes(
<<<SQL
UPDATE [[product]] SET [[name]]=UPPER([[name]]) WHERE [[name]] = LOWER(:val)
Expand Down

0 comments on commit 7803afb

Please sign in to comment.