src/Viserio/Component/Cron/Cron.php
public function isDue(string $environment, bool $isMaintenance = false): bool
    {
        if (! $this->runsInMaintenanceMode() && $isMaintenance) {
            return false;
        }

        return $this->expressionPasses() && $this->runsInEnvironment($environment);
    }
public function isDue(string $environment, bool $isMaintenance = false): bool
    {
        if (! $this->runsInMaintenanceMode() && $isMaintenance) {
            return false;
        }

        return $this->expressionPasses() && $this->runsInEnvironment($environment);
    }
{@inheritdoc}