Skip to content

Commit 2616c23

Browse files
committed
Initialize property with null
1 parent 5d46b40 commit 2616c23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Type/ScalarType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ abstract class ScalarType implements TypeDefinition, RequiredAware, NullableAwar
3434
/**
3535
* @var ?array<string>
3636
*/
37-
protected ?array $enum;
37+
protected ?array $enum = null;
3838

3939
final private function __construct()
4040
{

0 commit comments

Comments
 (0)