We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b3379b commit 4ccb8d4Copy full SHA for 4ccb8d4
src/Validation/Options.php
@@ -46,7 +46,7 @@ public function __construct(array $values)
46
*/
47
public function validate(string $value)
48
{
49
- if (!$value || !in_array($value, $this->values, true)) {
+ if (!$value || in_array($value, $this->values, true)) {
50
return;
51
}
52
0 commit comments