Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge pull request zendframework/zendframework#2032 from juriansluima…
Browse files Browse the repository at this point in the history
…n/hotfix/validator-constructor-options

Inject options from constructor into parent
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/GreaterThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ public function __construct($options = null)
$this->setMin($options['min'])
->setInclusive($options['inclusive']);

parent::__construct();
parent::__construct($options);
}

/**
Expand Down
2 changes: 1 addition & 1 deletion src/LessThan.php
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public function __construct($options = null)
$this->setMax($options['max'])
->setInclusive($options['inclusive']);

parent::__construct();
parent::__construct($options);
}

/**
Expand Down

0 comments on commit 5ffcbbe

Please sign in to comment.