Skip to content

Commit 1f2373b

Browse files
committed
fix normalizer prop typehint
1 parent d072c23 commit 1f2373b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/DBAL/Type/JsonModelType.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
abstract class JsonModelType extends JsonType
1414
{
15-
private ?AbstractObjectNormalizer $normalizer = null;
15+
private null|AbstractObjectNormalizer|TraceableNormalizer $normalizer = null;
1616

1717
abstract public static function getTypeName(): string;
1818

src/DBAL/Type/JsonModelTypeRegistry.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414

1515
final class JsonModelTypeRegistry
1616
{
17-
private static AbstractObjectNormalizer $objectNormalizer;
17+
private static AbstractObjectNormalizer|TraceableNormalizer $objectNormalizer;
1818

1919
private static array $typesMap = [];
2020

0 commit comments

Comments
 (0)