From 633f1703a055fc098afc6eebfefb451637540dfd Mon Sep 17 00:00:00 2001 From: Mark <14284867+xHeaven@users.noreply.github.com> Date: Sun, 29 Dec 2024 07:55:56 +0100 Subject: [PATCH] Fix style with php-cs-fixer --- src/Comparable.php | 4 ---- src/Options.php | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/src/Comparable.php b/src/Comparable.php index 116178a..b118ed2 100644 --- a/src/Comparable.php +++ b/src/Comparable.php @@ -4,10 +4,6 @@ declare(strict_types=1); namespace ArchTech\Enums; -use Exception; -use Iterator; -use IteratorAggregate; - trait Comparable { public function is(mixed $enum): bool diff --git a/src/Options.php b/src/Options.php index 037f4e0..0692ed6 100644 --- a/src/Options.php +++ b/src/Options.php @@ -33,7 +33,7 @@ trait Options // [name, name] $options = static::options(); - if (!$firstCase instanceof BackedEnum) { + if (! $firstCase instanceof BackedEnum) { // [name => name, name => name] $options = array_combine($options, $options); }