Skip to content

Commit 2502143

Browse files
authored
Let PHPStan check array and iterable types & generics (#27)
1 parent b3e2e10 commit 2502143

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/SkipInvalidItemProcessor.php

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,13 @@ final class SkipInvalidItemProcessor implements ItemProcessorInterface
1818
private ValidatorInterface $validator;
1919

2020
/**
21-
* @var array|null
21+
* @var string[]|null
2222
*/
2323
private ?array $groups;
2424

25+
/**
26+
* @param string[]|null $groups
27+
*/
2528
public function __construct(ValidatorInterface $validator, array $groups = null)
2629
{
2730
$this->validator = $validator;

0 commit comments

Comments
 (0)