Skip to content

Commit 493b0f0

Browse files
authored
Update codebase to PHP 7.4 (#12)
* Add typed properties * PHP 7.4 arrow function & static closures
1 parent 9208e4e commit 493b0f0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SkipInvalidItemProcessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ final class SkipInvalidItemProcessor implements ItemProcessorInterface
1515
/**
1616
* @var ValidatorInterface
1717
*/
18-
private $validator;
18+
private ValidatorInterface $validator;
1919

2020
/**
2121
* @var array|null
2222
*/
23-
private $groups;
23+
private ?array $groups;
2424

2525
public function __construct(ValidatorInterface $validator, array $groups = null)
2626
{

0 commit comments

Comments
 (0)