@@ -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 | { |
@@ -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) |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * Constructor |
| 38 | 38 | * @param array<string> 注入後の返却情報 |
| 39 | - * @param Container 依存コンテナ |
|
| 39 | + * @param Container Container |
|
| 40 | 40 | */ |
| 41 | 41 | public function __construct(array $injectedAnnotation, Container $container) |
| 42 | 42 | { |
@@ -56,7 +56,8 @@ discard block |
||
| 56 | 56 | /** |
| 57 | 57 | * CustomAnnotation結果を返却する |
| 58 | 58 | * @param string アノテーションID |
| 59 | - * @return Callable CustomAnnotation結果 |
|
| 59 | + * @param string $annotationId |
|
| 60 | + * @return \Closure CustomAnnotation結果 |
|
| 60 | 61 | */ |
| 61 | 62 | public function createAnnotationCallable($annotationId) |
| 62 | 63 | { |
@@ -95,7 +96,7 @@ discard block |
||
| 95 | 96 | |
| 96 | 97 | /** |
| 97 | 98 | * CustomAnnotation結果を返却する |
| 98 | - * @return Callable CustomAnnotation結果 |
|
| 99 | + * @return \Closure CustomAnnotation結果 |
|
| 99 | 100 | */ |
| 100 | 101 | public function createCustomAnnotationCallable() |
| 101 | 102 | { |
@@ -112,7 +113,7 @@ discard block |
||
| 112 | 113 | /** |
| 113 | 114 | * Header結果を返却する |
| 114 | 115 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 115 | - * @return Callable Header結果 |
|
| 116 | + * @return \Closure Header結果 |
|
| 116 | 117 | */ |
| 117 | 118 | private function createHeader($containerList) |
| 118 | 119 | { |
@@ -130,7 +131,7 @@ discard block |
||
| 130 | 131 | /** |
| 131 | 132 | * Filter結果を返却する |
| 132 | 133 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 133 | - * @return Callable Filter結果 |
|
| 134 | + * @return \Closure Filter結果 |
|
| 134 | 135 | */ |
| 135 | 136 | private function createFilter($containerList) |
| 136 | 137 | { |
@@ -214,7 +215,7 @@ discard block |
||
| 214 | 215 | /** |
| 215 | 216 | * Template結果を返却する |
| 216 | 217 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 217 | - * @return Callable Template結果 |
|
| 218 | + * @return \Closure Template結果 |
|
| 218 | 219 | */ |
| 219 | 220 | private function createTemplate($containerList) |
| 220 | 221 | { |
@@ -230,7 +231,7 @@ discard block |
||
| 230 | 231 | /** |
| 231 | 232 | * ExceptionHandler結果を返却する |
| 232 | 233 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 233 | - * @return Callable ExceptionHandler結果 |
|
| 234 | + * @return \Closure ExceptionHandler結果 |
|
| 234 | 235 | */ |
| 235 | 236 | private function createExceptionHandler($containerList) |
| 236 | 237 | { |
@@ -242,7 +243,7 @@ discard block |
||
| 242 | 243 | /** |
| 243 | 244 | * Database結果を返却する |
| 244 | 245 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 245 | - * @return Callable Database結果 |
|
| 246 | + * @return \Closure Database結果 |
|
| 246 | 247 | */ |
| 247 | 248 | private function createDatabase($containerList) |
| 248 | 249 | { |
@@ -254,7 +255,7 @@ discard block |
||
| 254 | 255 | /** |
| 255 | 256 | * Query結果を返却する |
| 256 | 257 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 257 | - * @return Callable Query結果 |
|
| 258 | + * @return \Closure Query結果 |
|
| 258 | 259 | */ |
| 259 | 260 | private function createQuery($containerList) |
| 260 | 261 | { |
@@ -266,7 +267,7 @@ discard block |
||
| 266 | 267 | /** |
| 267 | 268 | * Alias結果を返却する |
| 268 | 269 | * @param array<AnnotationContainer> アノテーションコンテナリスト |
| 269 | - * @return Callable Alias結果 |
|
| 270 | + * @return \Closure Alias結果 |
|
| 270 | 271 | */ |
| 271 | 272 | private function createAlias($containerList) |
| 272 | 273 | { |
@@ -1,7 +1,6 @@ discard block |
||
| 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; |
@@ -10,7 +9,6 @@ discard block |
||
| 10 | 9 | use WebStream\Module\Utility\CommonUtils; |
| 11 | 10 | use WebStream\Module\Utility\ApplicationUtils; |
| 12 | 11 | use WebStream\Module\ClassLoader; |
| 13 | -use WebStream\Module\ServiceLocator; |
|
| 14 | 12 | use WebStream\Exception\Extend\ValidateException; |
| 15 | 13 | use WebStream\Exception\Extend\AnnotationException; |
| 16 | 14 | use WebStream\Exception\Extend\InvalidRequestException; |
@@ -72,8 +72,6 @@ |
||
| 72 | 72 | |
| 73 | 73 | /** |
| 74 | 74 | * キーの値を設定する |
| 75 | - * @param string $name メソッド名 |
|
| 76 | - * @param array $arguments 引数リスト |
|
| 77 | 75 | * @return void |
| 78 | 76 | */ |
| 79 | 77 | public function set($key, $value) |
@@ -26,7 +26,7 @@ |
||
| 26 | 26 | /** |
| 27 | 27 | * コンテナを作成する |
| 28 | 28 | * @param boolean テスト環境フラグ |
| 29 | - * @return object コンテナ |
|
| 29 | + * @return Container コンテナ |
|
| 30 | 30 | */ |
| 31 | 31 | public function getContainer() |
| 32 | 32 | { |
@@ -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\IRead; |
@@ -1,7 +1,6 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | namespace WebStream\Cache\Driver; |
| 3 | 3 | |
| 4 | -use WebStream\DI\Injector; |
|
| 5 | 4 | use WebStream\Container\Container; |
| 6 | 5 | |
| 7 | 6 | /** |