Skip to content

Commit 2979ece

Browse files
committed
docs: make @var more precise
1 parent 99f41ee commit 2979ece

File tree

2 files changed

+1
-7
lines changed

2 files changed

+1
-7
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10459,12 +10459,6 @@
1045910459
'count' => 1,
1046010460
'path' => __DIR__ . '/system/Validation/Validation.php',
1046110461
];
10462-
$ignoreErrors[] = [
10463-
// identifier: missingType.iterableValue
10464-
'message' => '#^Property CodeIgniter\\\\Validation\\\\Validation\\:\\:\\$rules type has no value type specified in iterable type array\\.$#',
10465-
'count' => 1,
10466-
'path' => __DIR__ . '/system/Validation/Validation.php',
10467-
];
1046810462
$ignoreErrors[] = [
1046910463
// identifier: missingType.iterableValue
1047010464
'message' => '#^Property CodeIgniter\\\\Validation\\\\Validation\\:\\:\\$validated type has no value type specified in iterable type array\\.$#',

system/Validation/Validation.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class Validation implements ValidationInterface
5151
/**
5252
* Stores the actual rules that should be run against $data.
5353
*
54-
* @var array
54+
* @var array<array-key, array{label?: string, rules: list<string>}>
5555
*
5656
* [
5757
* field1 => [

0 commit comments

Comments
 (0)