Skip to content

Commit 50f4f0e

Browse files
authored
fix: change deprecated ValidationException (#6295)
1 parent 1745ec2 commit 50f4f0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/guides/delete-operation-with-validation.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function validate(mixed $value, Constraint $constraint): void
4242

4343
namespace App\Entity {
4444
use ApiPlatform\Metadata\Delete;
45-
use ApiPlatform\Symfony\Validator\Exception\ValidationException;
45+
use ApiPlatform\Validator\Exception\ValidationException;
4646
use App\Validator\AssertCanDelete;
4747
use Doctrine\ORM\Mapping as ORM;
4848

0 commit comments

Comments
 (0)