Skip to content

Commit d7ab299

Browse files
committed
Minor cleanup
1 parent e871eaf commit d7ab299

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Requirement/EnumRequirement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ public function __construct(string $enum, \BackedEnum ...$cases)
3737
}
3838
}
3939

40-
$this->values = array_unique(array_map(
40+
$this->values = array_map(
4141
static fn (\BackedEnum $e): string => $e->value,
4242
$cases ?: $enum::cases(),
43-
));
43+
);
4444
}
4545

4646
public function __toString(): string

0 commit comments

Comments
 (0)