We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fec5332 commit 00983d4Copy full SHA for 00983d4
src/Validator.php
@@ -57,7 +57,6 @@ public function inStep(int $value, string $offset): bool
57
return $value % $parts[1] === 0;
58
}
59
60
- $parts = \explode('/', $offset, 2);
61
$subparts = \explode('-', $parts[0], 2) + [1 => $value];
62
63
return $this->inStepRange((int) $value, (int) $subparts[0], (int) $subparts[1], (int) $parts[1]);
0 commit comments