diff --git a/composer.json b/composer.json index 9ad2fd4..1a06357 100644 --- a/composer.json +++ b/composer.json @@ -14,15 +14,15 @@ ], "require": { "php": ">=8.1", - "doctrine/orm": "^2.6.3", + "doctrine/orm": "^2.6.3 || ^3.0.0", "symfony/property-access": "^5.4 || ^6.0 || ^7.0", "symfony/property-info": "^5.4 || ^6.0 || ^7.0", "symfony/serializer": "^5.4 || ^6.0 || ^7.0" }, "require-dev": { - "doctrine/annotations": "^1.0", + "doctrine/annotations": "^1.0 || ^2.0.0", "doctrine/doctrine-bundle": "^1.12.13 || ^2.2", - "doctrine/dbal": "^2.7 || ^3.3", + "doctrine/dbal": "^2.7 || ^3.3 || ^4.0.0", "symfony/finder": "^5.4 || ^6.0 || ^7.0", "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", "symfony/phpunit-bridge": "^6.0 || ^7.0", diff --git a/src/Type/JsonDocumentType.php b/src/Type/JsonDocumentType.php index c9c0ea7..76c4f06 100644 --- a/src/Type/JsonDocumentType.php +++ b/src/Type/JsonDocumentType.php @@ -105,7 +105,7 @@ public function convertToDatabaseValue($value, AbstractPlatform $platform): ?str * * @return mixed */ - public function convertToPHPValue($value, AbstractPlatform $platform) + public function convertToPHPValue($value, AbstractPlatform $platform): mixed { if (null === $value || $value === '') { return null;