Skip to content

Commit

Permalink
improve doc
Browse files Browse the repository at this point in the history
  • Loading branch information
ypnos committed Mar 14, 2016
1 parent 911e3c3 commit 12156f2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Validation/Validator.php
Expand Up @@ -829,10 +829,10 @@ public function time($field, $message = null, $when = null)
*
* @param string $field The field you want to apply the rule to.
* @param string $type Parser type, one out of 'date', 'time', and 'datetime'
* @param string|int $format any format accepted by IntlDateFormatter
* @param string $message The error message when the rule fails.
* @param string|callable $when Either 'create' or 'update' or a callable that returns
* true when the valdiation rule should be applied.
* @param string|int|null $format any format accepted by IntlDateFormatter
* @param string|null $message The error message when the rule fails.
* @param string|callable|null $when Either 'create' or 'update' or a callable that returns
* true when the validation rule should be applied.
* @see \Cake\Validation\Validation::localizedTime()
* @return $this
*/
Expand Down

0 comments on commit 12156f2

Please sign in to comment.