src/Viserio/Component/Cron/Cron.php
public function runsInEnvironment(string $environment): bool
    {
        return \count($this->environments) === 0 || \in_array($environment, $this->environments, true);
    }
public function runsInEnvironment(string $environment): bool
    {
        return \count($this->environments) === 0 || \in_array($environment, $this->environments, true);
    }
{@inheritdoc}