Skip to content

Commit 41567b7

Browse files
authored
Make sure nullable arguments are strongly typed with null type (#163)
1 parent 5d3cf78 commit 41567b7

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
@@ -21,11 +21,11 @@ public function __construct(
2121
/**
2222
* @var Constraint[]|null
2323
*/
24-
private null|array $contraints = null,
24+
private array|null $contraints = null,
2525
/**
2626
* @var string[]|null
2727
*/
28-
private null|array $groups = null,
28+
private array|null $groups = null,
2929
) {
3030
}
3131

0 commit comments

Comments
 (0)