Skip to content

Commit bb650e1

Browse files
committed
fix invalid doc and regenerate baseline
1 parent 8f4b0da commit bb650e1

File tree

2 files changed

+1
-13
lines changed

2 files changed

+1
-13
lines changed

phpstan-baseline.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -15145,18 +15145,6 @@
1514515145
'count' => 2,
1514615146
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
1514715147
];
15148-
$ignoreErrors[] = [
15149-
// identifier: property.phpDocType
15150-
'message' => '#^PHPDoc tag @var for property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure with type mixed is not subtype of native type array\\.$#',
15151-
'count' => 1,
15152-
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
15153-
];
15154-
$ignoreErrors[] = [
15155-
// identifier: missingType.iterableValue
15156-
'message' => '#^Property CodeIgniter\\\\Helpers\\\\FilesystemHelperTest\\:\\:\\$structure type has no value type specified in iterable type array\\.$#',
15157-
'count' => 1,
15158-
'path' => __DIR__ . '/tests/system/Helpers/FilesystemHelperTest.php',
15159-
];
1516015148
$ignoreErrors[] = [
1516115149
// identifier: argument.type
1516215150
'message' => '#^Parameter \\#2 \\$value of function form_hidden expects array\\|string, null given\\.$#',

tests/system/Helpers/FilesystemHelperTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
final class FilesystemHelperTest extends CIUnitTestCase
2626
{
2727
/**
28-
* @var array<string, array<string, list<mixed>>>|array<string, array<string, string>>|array<string, list<mixed>>|array<string, mixed>|array<string, string>|mixed
28+
* @var array<string, array<string, list<mixed>>>|array<string, array<string, string>>|array<string, list<mixed>>|array<string, mixed>|array<string, string>
2929
*/
3030
private array $structure;
3131

0 commit comments

Comments
 (0)