Skip to content

Commit 35f0cb3

Browse files
committed
chore: add return array iterable doc and regenerate baseline
1 parent 272bd4b commit 35f0cb3

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

‎tests/system/View/DBResultDummy.php‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ public function getFieldNames(): array
2626
];
2727
}
2828

29+
/**
30+
* @return array<int, array<string, string>>
31+
*/
2932
public function getResultArray(): array
3033
{
3134
return [

‎utils/phpstan-baseline/loader.neon‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 2055 errors
1+
# total 2054 errors
22

33
includes:
44
- argument.type.neon

‎utils/phpstan-baseline/missingType.iterableValue.neon‎

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 1258 errors
1+
# total 1257 errors
22

33
parameters:
44
ignoreErrors:
@@ -6217,20 +6217,15 @@ parameters:
62176217
count: 1
62186218
path: ../../tests/system/Validation/ValidationTest.php
62196219

6220-
-
6221-
message: '#^Method CodeIgniter\\View\\ParserTest\:\:provideEscHandling\(\) return type has no value type specified in iterable type iterable\.$#'
6222-
count: 1
6223-
path: ../../tests/system/View/ParserTest.php
6224-
62256220
-
62266221
message: '#^Method CodeIgniter\\View\\DBResultDummy\:\:getFieldNames\(\) return type has no value type specified in iterable type array\.$#'
62276222
count: 1
6228-
path: ../../tests/system/View/TableTest.php
6223+
path: ../../tests/system/View/DBResultDummy.php
62296224

62306225
-
6231-
message: '#^Method CodeIgniter\\View\\DBResultDummy\:\:getResultArray\(\) return type has no value type specified in iterable type array\.$#'
6226+
message: '#^Method CodeIgniter\\View\\ParserTest\:\:provideEscHandling\(\) return type has no value type specified in iterable type iterable\.$#'
62326227
count: 1
6233-
path: ../../tests/system/View/TableTest.php
6228+
path: ../../tests/system/View/ParserTest.php
62346229

62356230
-
62366231
message: '#^Method CodeIgniter\\View\\TableTest\:\:orderedColumnUsecases\(\) return type has no value type specified in iterable type iterable\.$#'

0 commit comments

Comments
 (0)