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); }