[Nostromo] Improve code

This commit is contained in:
Andrés Montañez
2017-01-07 02:28:46 -03:00
parent 6d708c35fa
commit 063b75c0ef
2 changed files with 16 additions and 16 deletions
@@ -17,7 +17,6 @@ use Mage\Task\AbstractTask;
use Mage\Task\Exception\ErrorException;
use Mage\Task\Exception\SkipException;
use Mage\Task\TaskFactory;
use Mage\Utils;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputOption;
@@ -31,11 +30,6 @@ use Mage\Command\AbstractCommand;
*/
class DeployCommand extends AbstractCommand
{
/**
* @var int
*/
protected $statusCode = 0;
/**
* @var TaskFactory
*/
@@ -313,14 +307,4 @@ class DeployCommand extends AbstractCommand
return ($succeededTasks == $totalTasks);
}
/**
* Get the Human friendly Stage name
*
* @return string
*/
protected function getStageName()
{
return Utils::getStageName($this->runtime->getStage());
}
}