mirror of
https://github.com/vlucas/valitron.git
synced 2025-12-31 07:01:54 +00:00
commit
773e9034a9
@ -103,7 +103,7 @@ class Validator
|
|||||||
/**
|
/**
|
||||||
* Get/set language to use for validation messages
|
* Get/set language to use for validation messages
|
||||||
*
|
*
|
||||||
* @param string $Lang
|
* @param string $lang
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
public static function lang($lang = null)
|
public static function lang($lang = null)
|
||||||
@ -810,7 +810,7 @@ class Validator
|
|||||||
/**
|
/**
|
||||||
* Convenience method to add a single validation rule
|
* Convenience method to add a single validation rule
|
||||||
*
|
*
|
||||||
* @param string $fule
|
* @param string $rule
|
||||||
* @param array $fields
|
* @param array $fields
|
||||||
* @return $this
|
* @return $this
|
||||||
* @throws \InvalidArgumentException
|
* @throws \InvalidArgumentException
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user