Skip to content

Commit

Permalink
fix invalid doc and regenerate baseline
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Oct 15, 2024
1 parent 8f4b0da commit bb650e1
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 13 deletions.
12 changes: 0 additions & 12 deletions phpstan-baseline.php
Original file line number Diff line number Diff line change
Expand Up @@ -15145,18 +15145,6 @@
'count' => 2,
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
];
$ignoreErrors[] = [
// identifier: property.phpDocType
'message' => '#^PHPDoc tag @var for property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure with type mixed is not subtype of native type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
];
$ignoreErrors[] = [
// identifier: missingType.iterableValue
'message' => '#^Property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure type has no value type specified in iterable type array\\.$#',
'count' => 1,
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
];
$ignoreErrors[] = [
// identifier: argument.type
'message' => '#^Parameter \\#2 \\$value of function form_hidden expects array\\|string, null given\\.$#',
Expand Down
2 changes: 1 addition & 1 deletion tests/system/Helpers/FilesystemHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
final class FilesystemHelperTest extends CIUnitTestCase
{
/**
* @var array<string, array<string, list<mixed>>>|array<string, array<string, string>>|array<string, list<mixed>>|array<string, mixed>|array<string, string>|mixed
* @var array<string, array<string, list<mixed>>>|array<string, array<string, string>>|array<string, list<mixed>>|array<string, mixed>|array<string, string>
*/
private array $structure;

Expand Down

0 comments on commit bb650e1

Please sign in to comment.