Skip to content

Commit

Permalink
Change code comments
Browse files Browse the repository at this point in the history
  • Loading branch information
olivervogel committed Apr 23, 2024
1 parent acf0bd2 commit 6c37247
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Format.php
Expand Up @@ -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,
Expand All @@ -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),
Expand Down

0 comments on commit 6c37247

Please sign in to comment.