diff --git a/Classes/Command/CompressImagesCommand.php b/Classes/Command/CompressImagesCommand.php index 83db893..9370b34 100644 --- a/Classes/Command/CompressImagesCommand.php +++ b/Classes/Command/CompressImagesCommand.php @@ -41,7 +41,7 @@ public function __construct( private readonly FileRepository $fileRepository, private readonly ResourceFactory $resourceFactory, private readonly CompressImageService $compressImageService, - string $name = null + ?string $name = null ) { parent::__construct($name); }