1
0
Fork 0
mirror of https://github.com/archtechx/enums.git synced 2025-12-12 15:54:04 +00:00

Fix style with php-cs-fixer

This commit is contained in:
Mark 2024-12-29 07:55:56 +01:00
parent d669fa14af
commit 633f1703a0
No known key found for this signature in database
GPG key ID: 79CFF7869BD39873
2 changed files with 1 additions and 5 deletions

View file

@ -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

View file

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