Completed
Branch feature/0.7.0 (0808a6)
by Ryuichi
49:27
created
WebStream/DI/Injector.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -17,6 +17,7 @@
 block discarded – undo
17 17
      * オブジェクトを注入する
18 18
      * @param string プロパティ名
19 19
      * @param mixed オブジェクト
20
+     * @param string $name
20 21
      * @return Injector
21 22
      */
22 23
     public function inject($name, $object)
Please login to merge, or discard this patch.
WebStream/Exception/SystemException.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -13,6 +13,7 @@
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
WebStream/Http/Request.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -108,6 +108,7 @@
 block discarded – undo
108 108
     /**
109 109
      * SERVERパラメータ取得
110 110
      * @param string パラメータキー
111
+     * @param string $key
111 112
      */
112 113
     private function server($key)
113 114
     {
Please login to merge, or discard this patch.
WebStream/Http/Response.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -67,6 +67,7 @@  discard block
 block discarded – undo
67 67
     /**
68 68
      * Cache-Controlを設定
69 69
      * @param String Cache-Control
70
+     * @param string $cacheControl
70 71
      */
71 72
     public function setCacheControl($cacheControl)
72 73
     {
@@ -76,6 +77,7 @@  discard block
 block discarded – undo
76 77
     /**
77 78
      * Pragmaを設定
78 79
      * @param String Pragma
80
+     * @param string $pragma
79 81
      */
80 82
     public function setPragma($pragma)
81 83
     {
@@ -86,6 +88,7 @@  discard block
 block discarded – undo
86 88
      * MimeTypeを設定
87 89
      * ファイルタイプにより指定
88 90
      * @param String ファイルタイプ
91
+     * @param string $fileType
89 92
      */
90 93
     public function setType($fileType)
91 94
     {
@@ -167,6 +170,7 @@  discard block
 block discarded – undo
167 170
     /**
168 171
      * Content-Lengthを設定
169 172
      * @param Integer Content-Length
173
+     * @param integer $contentLength
170 174
      */
171 175
     public function setContentLength($contentLength)
172 176
     {
@@ -187,6 +191,7 @@  discard block
 block discarded – undo
187 191
     /**
188 192
      * Content-Transfer-Encodingを設定
189 193
      * @param String エンコーディング方法
194
+     * @param string $contentTransferEncoding
190 195
      */
191 196
     public function setContentTransferEncoding($contentTransferEncoding)
192 197
     {
@@ -196,6 +201,7 @@  discard block
 block discarded – undo
196 201
     /**
197 202
      * Expiresを設定
198 203
      * @param Integer 有効期限
204
+     * @param integer $expires
199 205
      */
200 206
     public function setExpires($expires)
201 207
     {
@@ -205,6 +211,7 @@  discard block
 block discarded – undo
205 211
     /**
206 212
      * レスポンスボディを設定
207 213
      * @param String レスポンスボディ
214
+     * @param string $body
208 215
      */
209 216
     public function setBody($body)
210 217
     {
@@ -504,6 +511,7 @@  discard block
 block discarded – undo
504 511
     /**
505 512
      * 指定したステータスコードのページに遷移
506 513
      * @param Integer ステータスコード
514
+     * @param integer $statusCode
507 515
      */
508 516
     public function move($statusCode)
509 517
     {
@@ -545,6 +553,7 @@  discard block
 block discarded – undo
545 553
     /**
546 554
      * HTMLテンプレート
547 555
      * @param String 表示内容
556
+     * @param string $content
548 557
      * @return String HTML
549 558
      */
550 559
     private function bodyTemplate($content)
Please login to merge, or discard this patch.
WebStream/Http/Session.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -49,6 +49,10 @@
 block discarded – undo
49 49
      * @param string Cookieを有効にするドメイン
50 50
      * @param boolean Secure属性を有効にする
51 51
      * @param boolean HttpOnly属性を有効にする
52
+     * @param string $path
53
+     * @param string $domain
54
+     * @param boolean $secure
55
+     * @param boolean $httpOnly
52 56
      */
53 57
     private function initialize($expire, $path, $domain, $secure, $httpOnly)
54 58
     {
Please login to merge, or discard this patch.
WebStream/Module/ClassLoader.php 2 patches
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -27,6 +27,7 @@  discard block
 block discarded – undo
27 27
     /**
28 28
      * クラスをロードする
29 29
      * @param string|array クラス名
30
+     * @param string $className
30 31
      * @return array<string> ロード済みクラスリスト
31 32
      */
32 33
     public function load($className)
@@ -38,6 +39,7 @@  discard block
 block discarded – undo
38 39
      * ファイルをインポートする
39 40
      * @param string ファイルパス
40 41
      * @param callable フィルタリング無名関数 trueを返すとインポート
42
+     * @param string $filepath
41 43
      * @return boolean インポート結果
42 44
      */
43 45
     public function import($filepath, callable $filter = null)
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 require_once dirname(__FILE__) . '/Utility/FileUtils.php';
5 5
 require_once dirname(__FILE__) . '/../DI/Injector.php';
6 6
 
7
-use WebStream\Module\Utility\ApplicationUtils;
8 7
 use WebStream\Module\Utility\FileUtils;
9 8
 use WebStream\DI\Injector;
10 9
 
Please login to merge, or discard this patch.
WebStream/Module/HttpClient.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -166,6 +166,7 @@  discard block
 block discarded – undo
166 166
      * @param array リクエストヘッダ
167 167
      * @param array<string> リクエストパラメータ
168 168
      * @param string 実行するRESTメソッド
169
+     * @param string $method
169 170
      * @return string レスポンス
170 171
      */
171 172
     private function http($url, $headers, $params, $method)
@@ -250,6 +251,8 @@  discard block
 block discarded – undo
250 251
      * @param array<string> オプション配列
251 252
      * @param string 配列キー
252 253
      * @param string or Integer デフォルト値
254
+     * @param string $key
255
+     * @param integer $default_value
253 256
      * @return mixed オプション配列の値
254 257
      */
255 258
     private function getOptionParameter($options, $key, $default_value = null)
Please login to merge, or discard this patch.
WebStream/Module/Utility/ApplicationUtils.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -108,6 +108,7 @@
 block discarded – undo
108 108
      * CoreHelper#asyncで使用するコードを返却する
109 109
      * @param string URL
110 110
      * @param string CSSクラス名
111
+     * @param string $url
111 112
      * @return string コード
112 113
      */
113 114
     public function asyncHelperCode($url, $id)
Please login to merge, or discard this patch.
WebStream/Template/Basic.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -195,6 +195,7 @@  discard block
 block discarded – undo
195 195
      * テンプレートを描画する
196 196
      * @param string テンプレートファイル
197 197
      * @param mixed 展開するパラメータ
198
+     * @param string $template
198 199
      */
199 200
     private function outputHTML($template, $params)
200 201
     {
@@ -207,6 +208,7 @@  discard block
 block discarded – undo
207 208
      * テンプレート記法を変換する
208 209
      * @param string 変換前出力内容
209 210
      * @param string mimeType
211
+     * @param string $content
210 212
      * @return bool 変換されたらtrue
211 213
      */
212 214
     private function replaceTemplateMark(&$content, $mimeType)
@@ -245,6 +247,7 @@  discard block
 block discarded – undo
245 247
     /**
246 248
      * すべてのformタグにCSRF対策トークンを追加する
247 249
      * @param string HTML文字列の参照
250
+     * @param string $csrfToken
248 251
      */
249 252
     private function addToken(&$content, $csrfToken)
250 253
     {
Please login to merge, or discard this patch.