Improving validation code and comments.

This commit is contained in:
Taylor Otwell 2011-06-22 06:43:48 -07:00
parent 3b63335c95
commit eb3a5b0dc9
1 changed files with 3 additions and 3 deletions

View File

@ -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
*/ */