Skip to content

Commit badbbc1

Browse files
authored
docs: update vich example to use the Attribute namespace instead (#2250)
1 parent 0e3611e commit badbbc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

symfony/file-upload.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ use Doctrine\ORM\Mapping as ORM;
7070
use Symfony\Component\HttpFoundation\File\File;
7171
use Symfony\Component\Serializer\Annotation\Groups;
7272
use Symfony\Component\Validator\Constraints as Assert;
73-
use Vich\UploaderBundle\Mapping\Annotation as Vich;
73+
use Vich\UploaderBundle\Mapping\Attribute as Vich;
7474
7575
#[Vich\Uploadable]
7676
#[ORM\Entity]

0 commit comments

Comments
 (0)