ソースを参照

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);
 	}
 
 	/**