mirror of
https://github.com/shlinkio/shlink.git
synced 2025-03-14 04:00:57 +03:00
Ensured a formatter is resolved
This commit is contained in:
parent
a66ddabe8a
commit
a83ae996db
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ class ProcessRunner implements ProcessRunnerInterface
|
|||
}
|
||||
|
||||
/** @var DebugFormatterHelper $formatter */
|
||||
$formatter = $this->helper->getHelperSet()->get('debug_formatter');
|
||||
$formatter = $this->helper->getHelperSet()?->get('debug_formatter') ?? new DebugFormatterHelper();
|
||||
/** @var Process $process */
|
||||
$process = ($this->createProcess)($cmd);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue