Skip to content

Commit b46d612

Browse files
authored
Fixed bug with multiple options
1 parent feecf5d commit b46d612

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Validation/Options.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public function __construct(array $values)
4646
*/
4747
public function validate(string $value)
4848
{
49-
if (!$value || in_array($value, $this->values, true)) {
49+
if (!$value || !in_array($value, $this->values, true)) {
5050
return;
5151
}
5252

0 commit comments

Comments
 (0)