Skip to content

Commit

Permalink
Remove setLabels, setRules in Check
Browse files Browse the repository at this point in the history
  • Loading branch information
rougin committed Mar 21, 2024
1 parent 1999b31 commit 68a4478
Showing 1 changed file with 0 additions and 26 deletions.
26 changes: 0 additions & 26 deletions src/Validate/Check.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,32 +100,6 @@ public function setError($key, $text)
return $this;
}

/**
* Sets the labels for the validator.
*
* @param array<string, string> $labels
* @return self
*/
public function setLabels($labels)
{
$this->labels = $labels;

return $this;
}

/**
* Sets the rules for the validator.
*
* @param array<string, string> $rules
* @return self
*/
public function setRules($rules)
{
$this->rules = $rules;

return $this;
}

/**
* Checks if the payload is valid againsts the specified rules.
*
Expand Down

0 comments on commit 68a4478

Please sign in to comment.