From 6c372473ac8ea45a198b89681cab1408942fde92 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Tue, 23 Apr 2024 16:11:56 +0200 Subject: [PATCH] Change code comments --- src/Format.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Format.php b/src/Format.php index 2c8cdb55..da48a116 100644 --- a/src/Format.php +++ b/src/Format.php @@ -96,6 +96,7 @@ public function fileExtensions(): array */ public function encoder(mixed ...$options): EncoderInterface { + // get classname of target encoder from current format $classname = match ($this) { self::AVIF => AvifEncoder::class, self::BMP => BmpEncoder::class, @@ -118,7 +119,7 @@ public function encoder(mixed ...$options): EncoderInterface ); } - // filter out unavailable options for target encoder + // filter out unavailable options of target encoder $options = array_filter( $options, fn ($key) => in_array($key, $parameters),