Skip to content

Commit

Permalink
[validator] fix return statement missing (#352)
Browse files Browse the repository at this point in the history
  • Loading branch information
connorhu committed Mar 21, 2024
1 parent c2ea16d commit ddc1528
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lib/validator/sfValidatorDecorator.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ public function getMessage($name)
public function setMessage($name, $value)
{
$this->validator->setMessage($name, $value);

return $this;
}

/**
Expand Down Expand Up @@ -95,6 +97,8 @@ public function getOption($name)
public function setOption($name, $value)
{
$this->validator->setOption($name, $value);

return $this;
}

/**
Expand All @@ -119,6 +123,8 @@ public function getOptions()
public function setOptions($values)
{
$this->validator->setOptions($values);

return $this;
}

/**
Expand Down

0 comments on commit ddc1528

Please sign in to comment.