Przeglądaj źródła

fix phpstan warning

Olivier Massot 1 rok temu
rodzic
commit
6179e553d5
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      src/Commands/CronCommand.php

+ 1 - 1
src/Commands/CronCommand.php

@@ -134,7 +134,7 @@ class CronCommand extends Command
             foreach (explode(',', $jobNames) as $name) {
                 try {
                     $jobs[] = $this->cronjobIterator->getByName($name);
-                } catch (RuntimeException $e) {
+                } catch (\RuntimeException $e) {
                     $this->output->writeln($e->getMessage());
                     $this->listJobs();