|
|
@@ -257,7 +257,7 @@ class CronCommand extends Command
|
|
|
$this->configureLoggerFormatter();
|
|
|
}
|
|
|
|
|
|
- protected function disableLoggerEmailHandler()
|
|
|
+ protected function disableLoggerEmailHandler(): void
|
|
|
{
|
|
|
$handlers = [];
|
|
|
/* @noinspection PhpPossiblePolymorphicInvocationInspection @phpstan-ignore-next-line */
|
|
|
@@ -266,6 +266,6 @@ class CronCommand extends Command
|
|
|
$handlers[] = $handler;
|
|
|
}
|
|
|
}
|
|
|
- $this->logger->setHandlers($handlers);
|
|
|
+ $this->logger->setHandlers($handlers); //@phpstan-ignore-line
|
|
|
}
|
|
|
}
|