Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Commit

Permalink
Merge branch 'hotfix/2700'
Browse files Browse the repository at this point in the history
  • Loading branch information
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DateStep.php
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,7 @@ public function isValid($value)
foreach ($intervalParts as $key => $value) {
if (0 != $value) {
$intervalUnit = $key;
$stepValue = (int)$value;
$stepValue = (int) $value;
break;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/Ip.php
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ protected function validateIPvFuture($value)
*/
static $regex = '/^v([[:xdigit:]]+)\.[[:alnum:]\-\._~!\$&\'\(\)\*\+,;=:]+$/';

$result = (bool)preg_match($regex, $value, $matches);
$result = (bool) preg_match($regex, $value, $matches);

/*
* "As such, implementations must not provide the version flag for the
Expand Down

0 comments on commit c411f06

Please sign in to comment.