@@ -77,6 +77,9 @@ discard block |
||
77 | 77 | const CONFIG_YML = 'config.yml'; |
78 | 78 | const EVENT_YML = 'event.yml'; |
79 | 79 | |
80 | + /** |
|
81 | + * @param string $path |
|
82 | + */ |
|
80 | 83 | public function install($path, $source = 0) |
81 | 84 | { |
82 | 85 | $pluginBaseDir = null; |
@@ -137,6 +140,9 @@ discard block |
||
137 | 140 | } |
138 | 141 | } |
139 | 142 | |
143 | + /** |
|
144 | + * @param string $dir |
|
145 | + */ |
|
140 | 146 | public function unpackPluginArchive($archive, $dir) |
141 | 147 | { |
142 | 148 | $extension = pathinfo($archive, PATHINFO_EXTENSION); |
@@ -196,6 +202,9 @@ discard block |
||
196 | 202 | } |
197 | 203 | } |
198 | 204 | |
205 | + /** |
|
206 | + * @param string $yml |
|
207 | + */ |
|
199 | 208 | public function readYml($yml) |
200 | 209 | { |
201 | 210 | if (file_exists($yml)) { |
@@ -213,6 +222,9 @@ discard block |
||
213 | 222 | // ディレクトリ名などに使われれるので厳しめ |
214 | 223 | } |
215 | 224 | |
225 | + /** |
|
226 | + * @param string $path |
|
227 | + */ |
|
216 | 228 | public function deleteFile($path) |
217 | 229 | { |
218 | 230 | $f = new Filesystem(); |
@@ -232,6 +244,9 @@ discard block |
||
232 | 244 | return $this->appConfig['plugin_realdir'].'/'.$name; |
233 | 245 | } |
234 | 246 | |
247 | + /** |
|
248 | + * @param string $d |
|
249 | + */ |
|
235 | 250 | public function createPluginDir($d) |
236 | 251 | { |
237 | 252 | $b = @mkdir($d); |
@@ -291,6 +306,9 @@ discard block |
||
291 | 306 | return $p; |
292 | 307 | } |
293 | 308 | |
309 | + /** |
|
310 | + * @param string $method |
|
311 | + */ |
|
294 | 312 | public function callPluginManagerMethod($meta, $method) |
295 | 313 | { |
296 | 314 | $class = '\\Plugin'.'\\'.$meta['code'].'\\'.'PluginManager'; |
@@ -363,6 +381,9 @@ discard block |
||
363 | 381 | return true; |
364 | 382 | } |
365 | 383 | |
384 | + /** |
|
385 | + * @param string $path |
|
386 | + */ |
|
366 | 387 | public function update(\Eccube\Entity\Plugin $plugin, $path) |
367 | 388 | { |
368 | 389 | $pluginBaseDir = null; |
@@ -220,7 +220,7 @@ discard block |
||
220 | 220 | /** |
221 | 221 | * 非会員情報を取得 |
222 | 222 | * |
223 | - * @param $sesisonKey |
|
223 | + * @param string $sesisonKey |
|
224 | 224 | * @return $Customer|null |
225 | 225 | */ |
226 | 226 | public function getNonMember($sesisonKey) |
@@ -252,7 +252,7 @@ discard block |
||
252 | 252 | /** |
253 | 253 | * 受注情報を作成 |
254 | 254 | * |
255 | - * @param $Customer |
|
255 | + * @param null|Customer $Customer |
|
256 | 256 | * @return \Eccube\Entity\Order |
257 | 257 | */ |
258 | 258 | public function createOrder($Customer) |
@@ -281,7 +281,7 @@ discard block |
||
281 | 281 | * 仮受注情報作成 |
282 | 282 | * |
283 | 283 | * @param $Customer |
284 | - * @param $preOrderId |
|
284 | + * @param string $preOrderId |
|
285 | 285 | * @return mixed |
286 | 286 | * @throws \Doctrine\ORM\NoResultException |
287 | 287 | * @throws \Doctrine\ORM\NonUniqueResultException |
@@ -1403,7 +1403,7 @@ discard block |
||
1403 | 1403 | * 受注メール送信を行う |
1404 | 1404 | * |
1405 | 1405 | * @param Order $Order |
1406 | - * @return MailHistory |
|
1406 | + * @return null|\Symfony\Component\HttpFoundation\Request |
|
1407 | 1407 | */ |
1408 | 1408 | public function sendOrderMail(Order $Order) |
1409 | 1409 | { |
@@ -48,7 +48,6 @@ |
||
48 | 48 | /** |
49 | 49 | * SearchProductType constructor. |
50 | 50 | * |
51 | - * @param Application $app |
|
52 | 51 | */ |
53 | 52 | public function __construct() |
54 | 53 | { |