Skip to content

Commit 736d495

Browse files
committed
Merge pull request #69 from kingsquare/superfluous
removed superfluous part determination
2 parents b4943b6 + 10f66d2 commit 736d495

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

src/Cron/CronExpression.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,11 +290,6 @@ protected function getRunDate($currentTime = null, $nth = 0, $invert = false, $a
290290
for ($i = 0; $i < 1000; $i++) {
291291

292292
foreach ($parts as $position => $part) {
293-
$part = $this->getExpression($position);
294-
if (null === $part) {
295-
continue;
296-
}
297-
298293
$satisfied = false;
299294
// Get the field object used to validate this part
300295
$field = $fields[$position];

0 commit comments

Comments
 (0)