From 171121bf7d1ca82af2f0b698345a5de9b526a0d8 Mon Sep 17 00:00:00 2001 From: Oliver Vogel Date: Mon, 22 Apr 2024 17:49:40 +0200 Subject: [PATCH] Reformat code --- src/Format.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Format.php b/src/Format.php index b8b8b8f2..4bfaaf1c 100644 --- a/src/Format.php +++ b/src/Format.php @@ -119,7 +119,11 @@ public function encoder(mixed ...$options): EncoderInterface } // filter only allowed options - $options = array_filter($options, fn ($key) => in_array($key, $parameters), ARRAY_FILTER_USE_KEY); + $options = array_filter( + $options, + fn ($key) => in_array($key, $parameters), + ARRAY_FILTER_USE_KEY, + ); return new $classname(...$options); }