Skip to content

Commit 00983d4

Browse files
committed
chore(validator): cleanup redundancy
1 parent fec5332 commit 00983d4

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/Validator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,6 @@ public function inStep(int $value, string $offset): bool
5757
return $value % $parts[1] === 0;
5858
}
5959

60-
$parts = \explode('/', $offset, 2);
6160
$subparts = \explode('-', $parts[0], 2) + [1 => $value];
6261

6362
return $this->inStepRange((int) $value, (int) $subparts[0], (int) $subparts[1], (int) $parts[1]);

0 commit comments

Comments
 (0)