浏览代码

Merge pull request #277 from LordSimal/master

remove unreachable statement in InflectCommand
Mark Scherer 3 年之前
父节点
当前提交
5c577e3de7
共有 1 个文件被更改,包括 0 次插入3 次删除
  1. 0 3
      src/Command/InflectCommand.php

+ 0 - 3
src/Command/InflectCommand.php

@@ -7,7 +7,6 @@ use Cake\Command\Command;
 use Cake\Console\Arguments;
 use Cake\Console\ConsoleIo;
 use Cake\Console\ConsoleOptionParser;
-use Cake\Console\Exception\StopException;
 use Shim\Utility\Inflector;
 
 /**
@@ -164,8 +163,6 @@ class InflectCommand extends Command {
 			default:
 				$this->abort(static::CODE_SUCCESS);
 		}
-
-		throw new StopException('Command aborted', static::CODE_SUCCESS);
 	}
 
 	/**