@@ -59,7 +59,6 @@ |
||
| 59 | 59 | protected $app; |
| 60 | 60 | |
| 61 | 61 | /** |
| 62 | - * @param array $config |
|
| 63 | 62 | */ |
| 64 | 63 | public function __construct() |
| 65 | 64 | { |
@@ -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 | { |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | * @deprecated 呼び出し元で制御する |
| 50 | 50 | * @param $block_id |
| 51 | 51 | * @param $DeviceType |
| 52 | - * @return array|\Eccube\Entity\Block |
|
| 52 | + * @return Block|null |
|
| 53 | 53 | */ |
| 54 | 54 | public function findOrCreate($block_id, $DeviceType) |
| 55 | 55 | { |
@@ -111,7 +111,7 @@ discard block |
||
| 111 | 111 | * ブロック一覧の取得. |
| 112 | 112 | * |
| 113 | 113 | * @param \Eccube\Entity\Master\DeviceType $DeviceType |
| 114 | - * @return array |
|
| 114 | + * @return null|\Symfony\Component\HttpFoundation\Request |
|
| 115 | 115 | */ |
| 116 | 116 | public function getList($DeviceType) |
| 117 | 117 | { |
@@ -40,7 +40,7 @@ |
||
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @deprecated 呼び出し元で制御する |
| 43 | - * @param $id |
|
| 43 | + * @param integer $id |
|
| 44 | 44 | * @return \Eccube\Entity\Delivery|null|object |
| 45 | 45 | */ |
| 46 | 46 | public function findOrCreate($id) |
@@ -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 | { |
@@ -603,6 +603,9 @@ discard block |
||
| 603 | 603 | /** |
| 604 | 604 | * 登録、更新時のエラー画面表示 |
| 605 | 605 | * |
| 606 | + * @param Application $app |
|
| 607 | + * @param boolean $not_product_class |
|
| 608 | + * @param \Symfony\Component\Form\FormInterface $classForm |
|
| 606 | 609 | */ |
| 607 | 610 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 608 | 611 | { |
@@ -654,6 +657,7 @@ discard block |
||
| 654 | 657 | |
| 655 | 658 | /** |
| 656 | 659 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 660 | + * @param Application $app |
|
| 657 | 661 | */ |
| 658 | 662 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 659 | 663 | { |
@@ -741,6 +745,7 @@ discard block |
||
| 741 | 745 | * |
| 742 | 746 | * @param $productClassDest ProductClass コピー先となる商品規格 |
| 743 | 747 | * @param $productClassOrig ProductClass コピー元となる商品規格 |
| 748 | + * @param Application $app |
|
| 744 | 749 | */ |
| 745 | 750 | private function setDefaultProductClass($app, $productClassDest, $productClassOrig) { |
| 746 | 751 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -392,7 +392,7 @@ |
||
| 392 | 392 | /** |
| 393 | 393 | * 会員の初回購入時間、購入時間、購入回数、購入金額を更新する |
| 394 | 394 | * |
| 395 | - * @param $app |
|
| 395 | + * @param \Eccube\Application $app |
|
| 396 | 396 | * @param Customer $Customer |
| 397 | 397 | * @param $orderStatusId |
| 398 | 398 | */ |