Skip to content

Commit

Permalink
fix normalizer prop typehint
Browse files Browse the repository at this point in the history
  • Loading branch information
pfilsx committed Feb 24, 2023
1 parent d072c23 commit 1f2373b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DBAL/Type/JsonModelType.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@

abstract class JsonModelType extends JsonType
{
private ?AbstractObjectNormalizer $normalizer = null;
private null|AbstractObjectNormalizer|TraceableNormalizer $normalizer = null;

abstract public static function getTypeName(): string;

Expand Down
2 changes: 1 addition & 1 deletion src/DBAL/Type/JsonModelTypeRegistry.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

final class JsonModelTypeRegistry
{
private static AbstractObjectNormalizer $objectNormalizer;
private static AbstractObjectNormalizer|TraceableNormalizer $objectNormalizer;

private static array $typesMap = [];

Expand Down

0 comments on commit 1f2373b

Please sign in to comment.