|
@@ -129,9 +129,9 @@ class Application
|
|
// @codeCoverageIgnoreStart
|
|
// @codeCoverageIgnoreStart
|
|
exit($statusCode);
|
|
exit($statusCode);
|
|
// @codeCoverageIgnoreEnd
|
|
// @codeCoverageIgnoreEnd
|
|
- } else {
|
|
|
|
- return $statusCode;
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ return $statusCode;
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|
|
@@ -315,9 +315,9 @@ class Application
|
|
{
|
|
{
|
|
if ('UNKNOWN' !== $this->getName() && 'UNKNOWN' !== $this->getVersion()) {
|
|
if ('UNKNOWN' !== $this->getName() && 'UNKNOWN' !== $this->getVersion()) {
|
|
return sprintf('<info>%s</info> version <comment>%s</comment>', $this->getName(), $this->getVersion());
|
|
return sprintf('<info>%s</info> version <comment>%s</comment>', $this->getName(), $this->getVersion());
|
|
- } else {
|
|
|
|
- return '<info>Console Tool</info>';
|
|
|
|
}
|
|
}
|
|
|
|
+
|
|
|
|
+ return '<info>Console Tool</info>';
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|