Skip to content

Commit

Permalink
Update vich_file_type.md
Browse files Browse the repository at this point in the history
Isn't this expected to be `VichFileType::class` too?
  • Loading branch information
tomasnorre authored May 24, 2024
1 parent ac002b8 commit 58611b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/form/vich_file_type.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Form extends AbstractType
```php
use Vich\UploaderBundle\Form\Type\VichImageType;

$builder->add('genericFile', VichImageType::class, [
$builder->add('genericFile', VichFileType::class, [
'delete_label' => 'Remove file',
]);
```
Expand Down

0 comments on commit 58611b2

Please sign in to comment.