From 68a447829e5ab0db87286861ab75d84dd5ecdca9 Mon Sep 17 00:00:00 2001 From: Rougin Gutib Date: Fri, 22 Mar 2024 00:29:48 +0800 Subject: [PATCH] Remove setLabels, setRules in Check --- src/Validate/Check.php | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/src/Validate/Check.php b/src/Validate/Check.php index 9ef79ff..1edf999 100644 --- a/src/Validate/Check.php +++ b/src/Validate/Check.php @@ -100,32 +100,6 @@ public function setError($key, $text) return $this; } - /** - * Sets the labels for the validator. - * - * @param array $labels - * @return self - */ - public function setLabels($labels) - { - $this->labels = $labels; - - return $this; - } - - /** - * Sets the rules for the validator. - * - * @param array $rules - * @return self - */ - public function setRules($rules) - { - $this->rules = $rules; - - return $this; - } - /** * Checks if the payload is valid againsts the specified rules. *