Skip to content

Commit

Permalink
Add @throws tag to docblock
Browse files Browse the repository at this point in the history
  • Loading branch information
dakota committed Jun 14, 2016
1 parent 0860d8d commit e8df362
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Validation/ValidatorAwareTrait.php
Expand Up @@ -92,6 +92,7 @@ trait ValidatorAwareTrait
* @param \Cake\Validation\Validator|null $validator The validator instance to store,
* use null to get a validator.
* @return \Cake\Validation\Validator
* @throws \RuntimeException
*/
public function validator($name = null, Validator $validator = null)
{
Expand Down

0 comments on commit e8df362

Please sign in to comment.