Improving validation code and comments.
This commit is contained in:
parent
3b63335c95
commit
eb3a5b0dc9
|
@ -24,7 +24,7 @@ class Validator {
|
||||||
public $rules = array();
|
public $rules = array();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new Eloquent validator instance.
|
* Create a new Validator instance.
|
||||||
*
|
*
|
||||||
* @param mixed $target
|
* @param mixed $target
|
||||||
* @return void
|
* @return void
|
||||||
|
@ -41,7 +41,7 @@ public function __construct($target)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Create a new Eloquent validator instance.
|
* Create a new Validator instance.
|
||||||
*
|
*
|
||||||
* @param mixed $target
|
* @param mixed $target
|
||||||
* @return Validator
|
* @return Validator
|
||||||
|
@ -52,7 +52,7 @@ public static function of($target)
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Determine if the model passes all of the validation rules.
|
* Determine if the attributes pass all of the validation rules.
|
||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue