@@ -1,7 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | namespace WebStream\Annotation; |
3 | 3 | |
4 | -use WebStream\Core\CoreInterface; |
|
5 | 4 | use WebStream\Annotation\Base\Annotation; |
6 | 5 | use WebStream\Annotation\Base\IAnnotatable; |
7 | 6 | use WebStream\Annotation\Base\IMethod; |
@@ -39,7 +39,7 @@ |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Constructor |
42 | - * @param Container 依存コンテナ |
|
42 | + * @param Container Container |
|
43 | 43 | */ |
44 | 44 | public function __construct(Container $container) |
45 | 45 | { |
@@ -13,6 +13,7 @@ |
||
13 | 13 | { |
14 | 14 | /** |
15 | 15 | * constructor |
16 | + * @param \Exception $exception |
|
16 | 17 | */ |
17 | 18 | public function __construct($message, $code = 500, $exception = null) |
18 | 19 | { |
@@ -183,6 +183,7 @@ |
||
183 | 183 | /** |
184 | 184 | * ログローテートサイクルを時間に変換 |
185 | 185 | * @param string ローテートサイクル |
186 | + * @param string $cycle |
|
186 | 187 | * @return int ローテート時間 |
187 | 188 | */ |
188 | 189 | private function cycle2value($cycle) |
@@ -35,7 +35,7 @@ |
||
35 | 35 | * フォーマット済みメッセージを返却する |
36 | 36 | * @param string メッセージ |
37 | 37 | * @param string ログレベル |
38 | - * @return フォーマット済みメッセージ |
|
38 | + * @return string |
|
39 | 39 | */ |
40 | 40 | public function getFormattedMessage($message, $logLevel) |
41 | 41 | { |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | |
86 | 86 | /** |
87 | 87 | * インスタンスを返却する |
88 | - * @return WebStream\Module\Logger ロガーインスタンス |
|
88 | + * @return Logger ロガーインスタンス |
|
89 | 89 | */ |
90 | 90 | public static function getInstance() |
91 | 91 | { |
@@ -171,6 +171,8 @@ discard block |
||
171 | 171 | * @param string ログレベル文字列 |
172 | 172 | * @param string 出力文字列 |
173 | 173 | * @param array<mixed> 埋め込み値リスト |
174 | + * @param integer $level |
|
175 | + * @param string $msg |
|
174 | 176 | */ |
175 | 177 | public function write($level, $msg, $context = null) |
176 | 178 | { |
@@ -267,6 +269,8 @@ discard block |
||
267 | 269 | * ローテートを実行する |
268 | 270 | * @param integer 作成日時のUnixTime |
269 | 271 | * @param integer 現在日時のUnixTime |
272 | + * @param integer $from |
|
273 | + * @param integer $to |
|
270 | 274 | */ |
271 | 275 | private function runRotate($from, $to) |
272 | 276 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | |
31 | 31 | /** |
32 | 32 | * constructor |
33 | - * @param string $filepath ファイルパス |
|
33 | + * @param string $filePath ファイルパス |
|
34 | 34 | */ |
35 | 35 | public function __construct(stirng $filePath) |
36 | 36 | { |
@@ -2,7 +2,6 @@ |
||
2 | 2 | namespace WebStream\IO; |
3 | 3 | |
4 | 4 | use WebStream\Exception\Extend\InvalidArgumentException; |
5 | -use WebStream\Exception\Extend\IOException; |
|
6 | 5 | |
7 | 6 | /** |
8 | 7 | * StringInputStream |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | |
40 | 40 | /** |
41 | 41 | * Constructor |
42 | - * @param Container 依存コンテナ |
|
42 | + * @param Container Container |
|
43 | 43 | */ |
44 | 44 | public function __construct(Container $container) |
45 | 45 | { |
@@ -141,6 +141,7 @@ discard block |
||
141 | 141 | * 名前空間を返却する |
142 | 142 | * @param string アプリケーションルート |
143 | 143 | * @param string クラス名 |
144 | + * @param string $appRoot |
|
144 | 145 | * @return string 名前空間 |
145 | 146 | */ |
146 | 147 | public function getNamespace($appRoot, $className) |