Skip to content

Commit b528a78

Browse files
committed
Apply fixes from StyleCI
[ci skip] [skip ci]
1 parent da50f40 commit b528a78

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Expression.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ protected static function isOffsetDue($offset, $pos, $time)
155155
if (strpos($offset, '-') !== false) {
156156
$parts = explode('-', $offset);
157157

158-
return ($parts[0] <= $time[$pos] && $time[$pos] <= $parts[1]);
158+
return $parts[0] <= $time[$pos] && $time[$pos] <= $parts[1];
159159
}
160160

161161
if (is_numeric($offset)) {
@@ -222,7 +222,7 @@ protected static function checkWeekDay($value, $time)
222222

223223
if ($pos = strpos($value, 'L')) {
224224
$value = explode('L', str_replace('7L', '0L', $value));
225-
$decr = $time[6];
225+
$decr = $time[6];
226226
for ($i = 0; $i < 7; $i++) {
227227
$decr -= $i;
228228
if (date('w', strtotime("$time[5]-$month-$decr")) == $value[0]) {

0 commit comments

Comments
 (0)