Skip to content

Commit

Permalink
CS Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KennedyTedesco committed Jun 3, 2016
1 parent 7bf4336 commit 247b414
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/Illuminate/Validation/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
use Countable;
use Exception;
use DateTimeZone;
use Carbon\Carbon;
use RuntimeException;
use Illuminate\Support\Arr;
use Illuminate\Support\Str;
Expand Down Expand Up @@ -1766,7 +1765,7 @@ protected function validateBefore($attribute, $value, $parameters)
return $this->validateBeforeWithFormat($format, $value, $parameters);
}

if(! $date = $this->getDateTimestamp($parameters[0])) {
if (! $date = $this->getDateTimestamp($parameters[0])) {
$date = $this->getDateTimestamp($this->getValue($parameters[0]));
}

Expand Down Expand Up @@ -1808,7 +1807,7 @@ protected function validateAfter($attribute, $value, $parameters)
return $this->validateAfterWithFormat($format, $value, $parameters);
}

if(! $date = $this->getDateTimestamp($parameters[0])) {
if (! $date = $this->getDateTimestamp($parameters[0])) {
$date = $this->getDateTimestamp($this->getValue($parameters[0]));
}

Expand Down Expand Up @@ -1901,7 +1900,7 @@ protected function getDateFormat($attribute)
}

/**
* Get the date timestamp
* Get the date timestamp.
*
* @param $value
* @return mixed
Expand Down

0 comments on commit 247b414

Please sign in to comment.