Skip to content

Commit

Permalink
fix: change deprecated ValidationException (#6295)
Browse files Browse the repository at this point in the history
  • Loading branch information
soyuka authored Apr 5, 2024
1 parent 1745ec2 commit 50f4f0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/delete-operation-with-validation.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public function validate(mixed $value, Constraint $constraint): void

namespace App\Entity {
use ApiPlatform\Metadata\Delete;
use ApiPlatform\Symfony\Validator\Exception\ValidationException;
use ApiPlatform\Validator\Exception\ValidationException;
use App\Validator\AssertCanDelete;
use Doctrine\ORM\Mapping as ORM;

Expand Down

0 comments on commit 50f4f0e

Please sign in to comment.