diff --git a/composer.json b/composer.json index 14ac3064..14c86b49 100644 --- a/composer.json +++ b/composer.json @@ -33,7 +33,7 @@ "symfony/config": "^6.4 || ^7.0", "symfony/console": "^6.4 || ^7.0", "symfony/dependency-injection": "^6.4 || ^7.0", - "symfony/doctrine-bridge": "^6.4 || ^7.0", + "symfony/doctrine-bridge": "^7.1", "symfony/framework-bundle": "^6.4 || ^7.0", "symfony/http-kernel": "^6.4 || ^7.0", "symfony/options-resolver": "^6.4 || ^7.0" diff --git a/src/Attribute/MapDocument.php b/src/Attribute/MapDocument.php index c757d7d7..23dee9e0 100644 --- a/src/Attribute/MapDocument.php +++ b/src/Attribute/MapDocument.php @@ -21,7 +21,8 @@ public function __construct( public array|string|null $id = null, bool $disabled = false, string $resolver = DocumentValueResolver::class, + public ?string $message = null, ) { - parent::__construct($class, $objectManager, $expr, $mapping, $exclude, $stripNull, $id, null, $disabled, $resolver); + parent::__construct($class, $objectManager, $expr, $mapping, $exclude, $stripNull, $id, null, $disabled, $resolver, $message); } }