Skip to content

Commit 3ed8260

Browse files
committed
QueryBuilder: CS
1 parent b30da80 commit 3ed8260

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

phpstan.neon

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,9 +226,9 @@ parameters:
226226
# === PHPStan imperfection ===
227227

228228
-
229-
message: "#^Property Forrest79\\\\PhPgSql\\\\Fluent\\\\Query::\\$params \\(array\\{select: array\\<int\\|string, BackedEnum\\|Forrest79\\\\PhPgSql\\\\Db\\\\Sql\\|Forrest79\\\\PhPgSql\\\\Fluent\\\\Query\\|int\\|string\\>, distinct: bool, distinctOn: list\\<string\\>, tables: array\\<string, array\\{string, string\\}\\>, table\\-types: array\\{main: string\\|null, from: list\\<string\\>, joins: list\\<string\\>, using: string\\|null\\}, on\\-conditions: array\\<string, Forrest79\\\\PhPgSql\\\\Fluent\\\\Complex\\>, lateral\\-tables: array\\<string, string\\>, where: Forrest79\\\\PhPgSql\\\\Fluent\\\\Complex\\|null, \\.\\.\\.\\}\\) does not accept .+\\.$#"
229+
message: "#^Property Forrest79\\\\PhPgSql\\\\Fluent\\\\Query\\:\\:\\$params \\(array\\{select\\: array\\<int\\|string, BackedEnum\\|Forrest79\\\\PhPgSql\\\\Db\\\\Sql\\|Forrest79\\\\PhPgSql\\\\Fluent\\\\Query\\|int\\|string\\>, distinct\\: bool, distinctOn\\: list\\<string\\>, tables\\: array\\<string, array\\{string, string\\}\\>, table\\-types\\: array\\{main\\: string\\|null, from\\: list\\<string\\>, joins\\: list\\<string\\>, using\\: string\\|null\\}, on\\-conditions\\: array\\<string, Forrest79\\\\PhPgSql\\\\Fluent\\\\Complex\\>, lateral\\-tables\\: array\\<string, string\\>, where\\: Forrest79\\\\PhPgSql\\\\Fluent\\\\Complex\\|null, \\.\\.\\.\\}\\) does not accept .+\\.$#"
230230
path: src/Fluent/Query.php
231-
count: 6
231+
count: 7
232232

233233
# === Fix PhPgSql-PHPStan rules ===
234234

src/Fluent/QueryBuilder.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,19 +14,19 @@
1414
* on-conditions: array<string, Complex>,
1515
* lateral-tables: array<string, string>,
1616
* where: Complex|NULL,
17-
* groupBy: array<string>,
17+
* groupBy: list<string>,
1818
* having: Complex|NULL,
19-
* orderBy: array<string|Db\Sql|Query>,
19+
* orderBy: list<string|Db\Sql|Query>,
2020
* limit: int|NULL,
2121
* offset: int|NULL,
2222
* combine-queries: list<array{0: string|Query|Db\Sql, 1: string}>,
23-
* insert-columns: array<string>,
23+
* insert-columns: list<string>,
2424
* insert-onconflict: array{columns-or-constraint: string|list<string>|FALSE|NULL, where: Complex|NULL, do: array<int|string, string|Db\Sql>|FALSE|NULL, do-where: Complex|NULL},
2525
* returning: array<int|string, string|int|Query|Db\Sql>,
2626
* data: array<string, mixed>,
2727
* rows: array<int, array<string, mixed>>,
2828
* merge: list<array{0: string, 1: string|Db\Sql, 2: Complex|NULL}>,
29-
* with: array{queries: array<string, string|Query|Db\Sql>, queries-suffix: array<string, string>, queries-not-materialized: array<string, string>, recursive: bool},
29+
* with: array{queries: array<string, string|Query|Db\Sql>, queries-suffix: array<string, string>, queries-not-materialized: array<string, bool>, recursive: bool},
3030
* prefix: list<array<mixed>>,
3131
* suffix: list<array<mixed>>
3232
* }

0 commit comments

Comments
 (0)