Skip to content

Commit

Permalink
Fixing some CS errors
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo committed Jan 2, 2016
1 parent 41e04c0 commit 034db62
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -772,7 +772,7 @@ public function containsNonAlphaNumeric($field, $limit = 1, $message = null, $wh
* Add a date format validation rule to a field.
*
* @param string $field The field you want to apply the rule to.
* @param array $format A list of accepted date formats.
* @param array $formats A list of accepted date formats.
* @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.
Expand All @@ -791,7 +791,7 @@ public function date($field, $formats = ['ymd'], $message = null, $when = null)
* Add a date time format validation rule to a field.
*
* @param string $field The field you want to apply the rule to.
* @param array $format A list of accepted date formats.
* @param array $formats A list of accepted date formats.
* @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.
Expand All @@ -810,7 +810,6 @@ public function dateTime($field, $formats = ['ymd'], $message = null, $when = nu
* Add a time format validation rule to a field.
*
* @param string $field The field you want to apply the rule to.
* @param array $format A list of accepted date formats.
* @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.
Expand Down Expand Up @@ -1275,7 +1274,7 @@ public function integer($field, $message = null, $when = null)
{
$extra = array_filter(['on' => $when, 'message' => $message]);
return $this->add($field, 'integer', $extra + [
'rule' =>'isInteger'
'rule' => 'isInteger'
]);
}

Expand Down

0 comments on commit 034db62

Please sign in to comment.