remove now useless condition

This commit is contained in:
Christian Flothmann 2017-06-10 13:08:03 +01:00
parent 63ecc9c60b
commit c9c3495fc0

View File

@ -43,9 +43,7 @@ class ProcessHelper extends Helper
$formatter = $this->getHelperSet()->get('debug_formatter');
if (is_array($cmd)) {
$process = new Process($cmd);
} elseif ($cmd instanceof Process) {
if ($cmd instanceof Process) {
$process = $cmd;
} else {
$process = new Process($cmd);