mirror of
https://github.com/archtechx/enums.git
synced 2025-12-12 17:14:04 +00:00
Fix style with php-cs-fixer
This commit is contained in:
parent
d669fa14af
commit
633f1703a0
2 changed files with 1 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue