1 | <?php |
||
18 | abstract class RisolutoCliBase |
||
19 | { |
||
20 | //------------------------------------------------------// |
||
21 | // クラスメソッド定義 |
||
22 | //------------------------------------------------------// |
||
23 | use RisolutoErrorLogTrait; |
||
24 | |||
25 | /** |
||
26 | * __construct() |
||
27 | * |
||
28 | * コンストラクタ |
||
29 | */ |
||
30 | public function __construct() |
||
33 | |||
34 | /** |
||
35 | * readFromStdin($prompt = 'Enter: ', $echoback = false) |
||
36 | * |
||
37 | * 標準入力からの入力を処理する |
||
38 | * |
||
39 | * @access protected |
||
40 | * |
||
41 | * @param string $message ブラウザ側に出力するメッセージ(省略可、デフォルトは'Authorization Required') |
||
|
|||
42 | * @param boolean $echoback true:エコーバックする/false:エコーバックしない |
||
43 | * |
||
44 | * @return string 入力された内容 |
||
45 | */ |
||
46 | protected function readFromStdin( $prompt = 'Enter: ', $echoback = true ) |
||
76 | |||
77 | /** |
||
78 | * detectSeparator($target) |
||
79 | * |
||
80 | * 分割文字を検出する |
||
81 | * |
||
82 | * @access private |
||
83 | * |
||
84 | * @param string $target 対象となる文字列 |
||
85 | * |
||
86 | * @return string 検出した分割文字 |
||
87 | */ |
||
88 | private function detectSeparator( $target ) |
||
109 | |||
110 | /** |
||
111 | * separateOptions($options) |
||
112 | * |
||
113 | * オプションを分割する |
||
114 | * |
||
115 | * @access protected |
||
116 | * |
||
117 | * @param string $target 対象となる文字列 |
||
118 | * |
||
119 | * @return array 分割後のオプション |
||
120 | */ |
||
121 | protected function separateOptions( $target ) |
||
150 | } |
||
151 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.