From 1427636138229baebf7274d9f841022fd3a2ec88 Mon Sep 17 00:00:00 2001 From: Christian F Date: Thu, 9 May 2024 10:05:47 +0200 Subject: [PATCH] Update file-upload.md (#1949) removed not needed constructor parameter --- core/file-upload.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/file-upload.md b/core/file-upload.md index baf0232aa2c..ee30d46e04d 100644 --- a/core/file-upload.md +++ b/core/file-upload.md @@ -166,8 +166,8 @@ use Vich\UploaderBundle\Storage\StorageInterface; final class SaveMediaObject implements ProcessorInterface { public function __construct( - #[Autowire('@api_platform.doctrine.orm.state.persist_processor')] private readonly ProcessorInterface $processor, - private readonly StorageInterface $storage + #[Autowire('@api_platform.doctrine.orm.state.persist_processor')] + private readonly ProcessorInterface $processor ) {} public function process(mixed $data, Operation $operation, array $uriVariables = [], array $context = [])