From 69f020432ec9999dcac3fe8589bf362136c59490 Mon Sep 17 00:00:00 2001 From: Tac Tacelosky Date: Sun, 5 May 2024 07:02:11 -0600 Subject: [PATCH] add default values to webp parameters Makes autowiring a bit easier. --- Service/FilterService.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Service/FilterService.php b/Service/FilterService.php index 887d0dec9..847d82026 100644 --- a/Service/FilterService.php +++ b/Service/FilterService.php @@ -55,8 +55,8 @@ public function __construct( DataManager $dataManager, FilterManager $filterManager, CacheManager $cacheManager, - bool $webpGenerate, - array $webpOptions, + bool $webpGenerate=false, + array $webpOptions=[], ?LoggerInterface $logger = null ) { $this->dataManager = $dataManager;