Skip to content

Commit abfb7f6

Browse files
committed
docs: generate baseline
1 parent 590793e commit abfb7f6

File tree

2 files changed

+6
-25
lines changed

2 files changed

+6
-25
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1796,11 +1796,6 @@
17961796
'count' => 1,
17971797
'path' => __DIR__ . '/system/Database/BaseBuilder.php',
17981798
];
1799-
$ignoreErrors[] = [
1800-
'message' => '#^Method CodeIgniter\\\\Database\\\\BaseBuilder\\:\\:_update\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#',
1801-
'count' => 1,
1802-
'path' => __DIR__ . '/system/Database/BaseBuilder.php',
1803-
];
18041799
$ignoreErrors[] = [
18051800
'message' => '#^Method CodeIgniter\\\\Database\\\\BaseBuilder\\:\\:_whereIn\\(\\) has parameter \\$values with no signature specified for Closure\\.$#',
18061801
'count' => 1,
@@ -3101,11 +3096,6 @@
31013096
'count' => 3,
31023097
'path' => __DIR__ . '/system/Database/OCI8/Builder.php',
31033098
];
3104-
$ignoreErrors[] = [
3105-
'message' => '#^Method CodeIgniter\\\\Database\\\\OCI8\\\\Builder\\:\\:_update\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#',
3106-
'count' => 1,
3107-
'path' => __DIR__ . '/system/Database/OCI8/Builder.php',
3108-
];
31093099
$ignoreErrors[] = [
31103100
'message' => '#^Method CodeIgniter\\\\Database\\\\OCI8\\\\Builder\\:\\:fieldsFromQuery\\(\\) return type has no value type specified in iterable type array\\.$#',
31113101
'count' => 1,
@@ -3286,11 +3276,6 @@
32863276
'count' => 7,
32873277
'path' => __DIR__ . '/system/Database/Postgre/Builder.php',
32883278
];
3289-
$ignoreErrors[] = [
3290-
'message' => '#^Method CodeIgniter\\\\Database\\\\Postgre\\\\Builder\\:\\:_update\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#',
3291-
'count' => 1,
3292-
'path' => __DIR__ . '/system/Database/Postgre/Builder.php',
3293-
];
32943279
$ignoreErrors[] = [
32953280
'message' => '#^Method CodeIgniter\\\\Database\\\\Postgre\\\\Builder\\:\\:replace\\(\\) has parameter \\$set with no value type specified in iterable type array\\.$#',
32963281
'count' => 1,
@@ -3636,11 +3621,6 @@
36363621
'count' => 9,
36373622
'path' => __DIR__ . '/system/Database/SQLSRV/Builder.php',
36383623
];
3639-
$ignoreErrors[] = [
3640-
'message' => '#^Method CodeIgniter\\\\Database\\\\SQLSRV\\\\Builder\\:\\:_update\\(\\) has parameter \\$values with no value type specified in iterable type array\\.$#',
3641-
'count' => 1,
3642-
'path' => __DIR__ . '/system/Database/SQLSRV/Builder.php',
3643-
];
36443624
$ignoreErrors[] = [
36453625
'message' => '#^Method CodeIgniter\\\\Database\\\\SQLSRV\\\\Builder\\:\\:fieldsFromQuery\\(\\) return type has no value type specified in iterable type array\\.$#',
36463626
'count' => 1,

system/Database/BaseBuilder.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2377,8 +2377,8 @@ protected function validateInsert(): bool
23772377
* Generates a platform-specific insert string from the supplied data
23782378
*
23792379
* @param string $table Protected table name
2380-
* @param list<string> $keys QBKeys
2381-
* @param list<int|string> $unescapedKeys QBSet
2380+
* @param list<string> $keys Keys of QBSet
2381+
* @param list<int|string> $unescapedKeys Values of QBSet
23822382
*/
23832383
protected function _insert(string $table, array $keys, array $unescapedKeys): string
23842384
{
@@ -2419,8 +2419,8 @@ public function replace(?array $set = null)
24192419
* Generates a platform-specific replace string from the supplied data
24202420
*
24212421
* @param string $table Protected table name
2422-
* @param list<string> $keys QBKeys
2423-
* @param list<int|string> $values QBSet
2422+
* @param list<string> $keys Keys of QBSet
2423+
* @param list<int|string> $values Values of QBSet
24242424
*/
24252425
protected function _replace(string $table, array $keys, array $values): string
24262426
{
@@ -2516,7 +2516,8 @@ public function update($set = null, $where = null, ?int $limit = null): bool
25162516
/**
25172517
* Generates a platform-specific update string from the supplied data
25182518
*
2519-
* @param string $table Protected table name
2519+
* @param string $table Protected table name
2520+
* @param array<string, string> $values QBSet
25202521
*/
25212522
protected function _update(string $table, array $values): string
25222523
{

0 commit comments

Comments
 (0)