Skip to content

Commit

Permalink
Merge pull request #34 from kinglozzer/patch-1
Browse files Browse the repository at this point in the history
Fix broken type hinting in ValidationLogicCriteria
  • Loading branch information
sheadawson committed Jun 6, 2015
2 parents 2f577fc + 7b53b54 commit 517d167
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/ValidationLogicCriteria.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class ValidationLogicCriteria extends Object {
* @param [type] $master The name of the form field to respond to
* @param [type] $parent The parent {@link ValidationLogicCriteria}
*/
public function __construct(ZenValidatorConstraint $slave, $master, $parent = null) {
public function __construct(FormField $slave, $master, $parent = null) {
parent::__construct();
$this->slave = $slave;
$this->master = $master;
Expand Down Expand Up @@ -245,4 +245,4 @@ public function getMasterList() {
return $list;
}

}
}

0 comments on commit 517d167

Please sign in to comment.