@@ -90,7 +90,8 @@ public function __construct(Input $input, Output $output, InputDefinition $defin
90
90
}
91
91
92
92
protected function init ()
93
- {}
93
+ {
94
+ }
94
95
95
96
/**
96
97
* configure input definition
@@ -122,7 +123,7 @@ public function run()
122
123
// load input definition configure
123
124
$ this ->configure ();
124
125
125
- if ($ this ->input ->sameOpt (['h ' ,'help ' ])) {
126
+ if ($ this ->input ->sameOpt (['h ' , 'help ' ])) {
126
127
return $ this ->showHelp ();
127
128
}
128
129
@@ -309,7 +310,7 @@ protected function replaceAnnotationVars($str)
309
310
310
311
/**
311
312
* show help by parse method annotation
312
- * @param string $method
313
+ * @param string $method
313
314
* @param null|string $action
314
315
* @return int
315
316
*/
@@ -343,12 +344,12 @@ protected function showHelpByMethodAnnotation($method, $action = null)
343
344
344
345
// need multi align
345
346
// if (self::$annotationTags[$tag]) {
346
- // $lines = array_map(function ($line) {
347
- // // return trim($line);
348
- // return $line;
349
- // }, explode("\n", $msg));
347
+ // $lines = array_map(function ($line) {
348
+ // // return trim($line);
349
+ // return $line;
350
+ // }, explode("\n", $msg));
350
351
351
- // $msg = implode("\n", array_filter($lines, 'trim'));
352
+ // $msg = implode("\n", array_filter($lines, 'trim'));
352
353
// }
353
354
354
355
$ tag = ucfirst ($ tag );
0 commit comments