From 5f90d7aa372228c865de5479f71f5e79fa09ac6c Mon Sep 17 00:00:00 2001 From: Konrad Michalik Date: Thu, 24 Jul 2025 08:39:00 +0200 Subject: [PATCH] [FIX] Fix nullable name parameter in CompressImagesCommand to avoid PHP deprecation warnings --- Classes/Command/CompressImagesCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }