Skip to content

Commit

Permalink
docs: make @var more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
kenjis committed Aug 22, 2024
1 parent 99f41ee commit 2979ece
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -10459,12 +10459,6 @@
'count' => 1,
'path' => __DIR__ . '/system/Validation/Validation.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Property CodeIgniter\\\\Validation\\\\Validation\\:\\:\\$rules type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/system/Validation/Validation.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Property CodeIgniter\\\\Validation\\\\Validation\\:\\:\\$validated type has no value type specified in iterable type array\\.$#',
Expand Down
2 changes: 1 addition & 1 deletion system/Validation/Validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class Validation implements ValidationInterface
/**
* Stores the actual rules that should be run against $data.
*
* @var array
* @var array<array-key, array{label?: string, rules: list<string>}>
*
* [
* field1 => [
Expand Down

0 comments on commit 2979ece

Please sign in to comment.