@@ -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 | { |
@@ -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 | { |
@@ -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 | */ |
@@ -65,7 +65,7 @@ discard block |
||
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 int |
|
68 | + * @return double |
|
69 | 69 | */ |
70 | 70 | public function getPriceIncTax($price, $product = null, $productClass = null, $pref = null, $country = null) |
71 | 71 | { |
@@ -92,8 +92,8 @@ discard block |
||
92 | 92 | /** |
93 | 93 | * 課税規則に応じて端数処理を行う |
94 | 94 | * |
95 | - * @param float|integer $value 端数処理を行う数値 |
|
96 | - * @param integer $calcRule 課税規則 |
|
95 | + * @param integer $value 端数処理を行う数値 |
|
96 | + * @param integer $RoundingType |
|
97 | 97 | * @return double 端数処理後の数値 |
98 | 98 | */ |
99 | 99 | public function roundByRoundingType($value, $RoundingType) |
@@ -420,6 +420,9 @@ |
||
420 | 420 | $session->set('eccube.session.install', $data); |
421 | 421 | } |
422 | 422 | |
423 | + /** |
|
424 | + * @param InstallApplication $app |
|
425 | + */ |
|
423 | 426 | private function checkModules($app) |
424 | 427 | { |
425 | 428 | foreach ($this->requiredModules as $module) { |
@@ -16,6 +16,7 @@ discard block |
||
16 | 16 | { |
17 | 17 | /** |
18 | 18 | * Application Shortcut Methods |
19 | + * @param string $message |
|
19 | 20 | */ |
20 | 21 | public function addSuccess($message, $namespace = 'front') |
21 | 22 | { |
@@ -58,6 +59,9 @@ discard block |
||
58 | 59 | $this->addWarning('admin.delete.warning', 'admin'); |
59 | 60 | } |
60 | 61 | |
62 | + /** |
|
63 | + * @param string $targetPath |
|
64 | + */ |
|
61 | 65 | public function setLoginTargetPath($targetPath, $namespace = null) |
62 | 66 | { |
63 | 67 | if (is_null($namespace)) { |
@@ -109,7 +113,7 @@ discard block |
||
109 | 113 | * @param string $path フォワード先のパス |
110 | 114 | * @param array $requestParameters |
111 | 115 | * @param Response $response |
112 | - * @return Application |
|
116 | + * @return ApplicationTrait |
|
113 | 117 | */ |
114 | 118 | public function forwardChain($path, array $requestParameters = [], Response &$response = null) |
115 | 119 | { |
@@ -122,7 +126,7 @@ discard block |
||
122 | 126 | * Pimple標準では再登録を行うと, `RuntimeException: Cannot override frozen service`が投げられるため,一度unsetしてから再登録を行う. |
123 | 127 | * config系の変更程度に利用はとどめること |
124 | 128 | * |
125 | - * @param $key |
|
129 | + * @param string $key |
|
126 | 130 | * @param $service |
127 | 131 | * @throws \InvalidArgumentException keyが存在しない場合. |
128 | 132 | */ |
@@ -31,7 +31,7 @@ |
||
31 | 31 | { |
32 | 32 | /** |
33 | 33 | * FormExtensionAutoWiring constructor. |
34 | - * @param array|string[] $scanDirs |
|
34 | + * @param string[] $scanDirs |
|
35 | 35 | */ |
36 | 36 | public function __construct($scanDirs) |
37 | 37 | { |
@@ -30,7 +30,7 @@ |
||
30 | 30 | { |
31 | 31 | /** |
32 | 32 | * RepositoryAutoWiring constructor. |
33 | - * @param array|string[] $scanDirs |
|
33 | + * @param string[] $scanDirs |
|
34 | 34 | */ |
35 | 35 | public function __construct($scanDirs) |
36 | 36 | { |