diff --git a/src/Option.php b/src/Option.php index 89d01d3..4d36fcc 100644 --- a/src/Option.php +++ b/src/Option.php @@ -35,6 +35,7 @@ final class Option public function __construct(string $name) { $this->name = $name; + $this->validator = null; } public function getName(): string @@ -81,4 +82,4 @@ public function isValid($value): bool } return true; } -} \ No newline at end of file +}