@@ -87,7 +87,7 @@ |
||
87 | 87 | * Complete |
88 | 88 | * |
89 | 89 | * @param Application $app |
90 | - * @return mixed |
|
90 | + * @return \Symfony\Component\HttpFoundation\Response |
|
91 | 91 | */ |
92 | 92 | public function complete(Application $app, Request $request) |
93 | 93 | { |
@@ -1188,6 +1188,7 @@ |
||
1188 | 1188 | |
1189 | 1189 | /** |
1190 | 1190 | * 非会員でのお客様情報変更時の入力チェック |
1191 | + * @param Application $app |
|
1191 | 1192 | */ |
1192 | 1193 | private function customerValidation($app, $data) { |
1193 | 1194 |
@@ -42,7 +42,7 @@ |
||
42 | 42 | |
43 | 43 | /** |
44 | 44 | * @param ObjectManager $om |
45 | - * @param stging $className |
|
45 | + * @param string $className |
|
46 | 46 | */ |
47 | 47 | public function __construct(ObjectManager $om, $className) |
48 | 48 | { |
@@ -36,6 +36,9 @@ |
||
36 | 36 | { |
37 | 37 | protected $app; |
38 | 38 | |
39 | + /** |
|
40 | + * @param \Silex\Application $app |
|
41 | + */ |
|
39 | 42 | public function __construct($app) |
40 | 43 | { |
41 | 44 | $this->app = $app; |
@@ -130,7 +130,7 @@ |
||
130 | 130 | /** |
131 | 131 | * @param \Eccube\Entity\Member $Member |
132 | 132 | * |
133 | - * @return void |
|
133 | + * @return boolean |
|
134 | 134 | */ |
135 | 135 | public function up(\Eccube\Entity\Member $Member) |
136 | 136 | { |
@@ -65,7 +65,7 @@ |
||
65 | 65 | * @param int|null|\Eccube\Entity\ProductClass $ProductClass 商品規格 |
66 | 66 | * @param int|null|\Eccube\Entity\Master\Pref $Pref 都道府県 |
67 | 67 | * @param int|null|\Eccube\Entity\Master\Country $Country 国 |
68 | - * @return \Eccube\Entity\TaxRule 税設定情報 |
|
68 | + * @return integer 税設定情報 |
|
69 | 69 | * |
70 | 70 | * @throws NoResultException |
71 | 71 | */ |
@@ -201,7 +201,7 @@ |
||
201 | 201 | } |
202 | 202 | |
203 | 203 | /** |
204 | - * @param \Eccube\Entity\ProductClass|integer $ProductClass |
|
204 | + * @param string $ProductClass |
|
205 | 205 | * @param integer $quantity |
206 | 206 | * @return \Eccube\Service\CartService |
207 | 207 | * @throws CartException |
@@ -326,7 +326,6 @@ |
||
326 | 326 | |
327 | 327 | /** |
328 | 328 | * @param $row |
329 | - * @param null $callback |
|
330 | 329 | */ |
331 | 330 | public function fputcsv($row) |
332 | 331 | { |
@@ -36,6 +36,9 @@ discard block |
||
36 | 36 | const EVENT_YML = 'event.yml'; |
37 | 37 | private $app; |
38 | 38 | |
39 | + /** |
|
40 | + * @param \Silex\Application $app |
|
41 | + */ |
|
39 | 42 | public function __construct($app) |
40 | 43 | { |
41 | 44 | $this->app = $app; |
@@ -98,6 +101,9 @@ discard block |
||
98 | 101 | } |
99 | 102 | } |
100 | 103 | |
104 | + /** |
|
105 | + * @param string $dir |
|
106 | + */ |
|
101 | 107 | public function unpackPluginArchive($archive, $dir) |
102 | 108 | { |
103 | 109 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -116,6 +122,9 @@ discard block |
||
116 | 122 | } |
117 | 123 | } |
118 | 124 | |
125 | + /** |
|
126 | + * @param string $dir |
|
127 | + */ |
|
119 | 128 | public function checkPluginArchiveContent($dir) |
120 | 129 | { |
121 | 130 | $meta = $this->readYml($dir.'/config.yml'); |
@@ -138,6 +147,9 @@ discard block |
||
138 | 147 | } |
139 | 148 | } |
140 | 149 | |
150 | + /** |
|
151 | + * @param string $yml |
|
152 | + */ |
|
141 | 153 | public function readYml($yml) |
142 | 154 | { |
143 | 155 | return Yaml::Parse($yml); |
@@ -151,6 +163,9 @@ discard block |
||
151 | 163 | // ディレクトリ名などに使われれるので厳しめ |
152 | 164 | } |
153 | 165 | |
166 | + /** |
|
167 | + * @param string $path |
|
168 | + */ |
|
154 | 169 | public function deleteFile($path) |
155 | 170 | { |
156 | 171 | $f = new Filesystem(); |
@@ -170,6 +185,9 @@ discard block |
||
170 | 185 | return $this->app['config']['plugin_realdir'].'/'.$name; |
171 | 186 | } |
172 | 187 | |
188 | + /** |
|
189 | + * @param string $d |
|
190 | + */ |
|
173 | 191 | public function createPluginDir($d) |
174 | 192 | { |
175 | 193 | $b = mkdir($d); |
@@ -229,6 +247,9 @@ discard block |
||
229 | 247 | return $p; |
230 | 248 | } |
231 | 249 | |
250 | + /** |
|
251 | + * @param string $method |
|
252 | + */ |
|
232 | 253 | public function callPluginManagerMethod($meta, $method) |
233 | 254 | { |
234 | 255 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |