@@ -198,6 +198,9 @@ discard block |
||
| 198 | 198 | return $orderArray; |
| 199 | 199 | } |
| 200 | 200 | |
| 201 | + /** |
|
| 202 | + * @param \DateTime $dateTime |
|
| 203 | + */ |
|
| 201 | 204 | protected function getSalesByMonth($em, $dateTime, array $excludes) |
| 202 | 205 | { |
| 203 | 206 | // concat... for pgsql |
@@ -229,6 +232,9 @@ discard block |
||
| 229 | 232 | return $result; |
| 230 | 233 | } |
| 231 | 234 | |
| 235 | + /** |
|
| 236 | + * @param \DateTime $dateTime |
|
| 237 | + */ |
|
| 232 | 238 | protected function getSalesByDay($em, $dateTime, array $excludes) |
| 233 | 239 | { |
| 234 | 240 | // concat... for pgsql |
@@ -230,6 +230,10 @@ discard block |
||
| 230 | 230 | return $str; |
| 231 | 231 | } |
| 232 | 232 | |
| 233 | + /** |
|
| 234 | + * @param string $topDir |
|
| 235 | + * @param Request $request |
|
| 236 | + */ |
|
| 233 | 237 | private function getTree($topDir, $request) |
| 234 | 238 | { |
| 235 | 239 | $finder = Finder::create()->in($topDir) |
@@ -267,6 +271,10 @@ discard block |
||
| 267 | 271 | return $tree; |
| 268 | 272 | } |
| 269 | 273 | |
| 274 | + /** |
|
| 275 | + * @param Application $app |
|
| 276 | + * @param string $nowDir |
|
| 277 | + */ |
|
| 270 | 278 | private function getFileList($app, $nowDir) |
| 271 | 279 | { |
| 272 | 280 | $topDir = $app['config']['user_data_realdir']; |
@@ -326,6 +334,9 @@ discard block |
||
| 326 | 334 | return (strpos($targetDir, $topDir) === 0); |
| 327 | 335 | } |
| 328 | 336 | |
| 337 | + /** |
|
| 338 | + * @return string |
|
| 339 | + */ |
|
| 329 | 340 | private function convertStrFromServer($target) |
| 330 | 341 | { |
| 331 | 342 | if ($this->encode == self::SJIS) { |
@@ -377,7 +377,7 @@ discard block |
||
| 377 | 377 | /** |
| 378 | 378 | * フォームからの入直内容に基づいて、受注情報の再計算を行う |
| 379 | 379 | * |
| 380 | - * @param $app |
|
| 380 | + * @param Application $app |
|
| 381 | 381 | * @param $Order |
| 382 | 382 | */ |
| 383 | 383 | protected function calculate($app, \Eccube\Entity\Order $Order) |
@@ -471,7 +471,7 @@ discard block |
||
| 471 | 471 | * - 受注ステータスが入金済に設定された場合に入金日を更新 |
| 472 | 472 | * |
| 473 | 473 | * |
| 474 | - * @param $app |
|
| 474 | + * @param Application $app |
|
| 475 | 475 | * @param $TargetOrder |
| 476 | 476 | * @param $OriginOrder |
| 477 | 477 | */ |
@@ -259,6 +259,9 @@ |
||
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | |
| 262 | + /** |
|
| 263 | + * @param Application $app |
|
| 264 | + */ |
|
| 262 | 265 | private function createBody($app, $header, $footer, $Order) |
| 263 | 266 | { |
| 264 | 267 | return $app->renderView('Mail/order.twig', array( |
@@ -430,6 +430,9 @@ discard block |
||
| 430 | 430 | /** |
| 431 | 431 | * 登録、更新時のエラー画面表示 |
| 432 | 432 | * |
| 433 | + * @param Application $app |
|
| 434 | + * @param boolean $not_product_class |
|
| 435 | + * @param \Symfony\Component\Form\Form $classForm |
|
| 433 | 436 | */ |
| 434 | 437 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 435 | 438 | { |
@@ -479,6 +482,7 @@ discard block |
||
| 479 | 482 | |
| 480 | 483 | /** |
| 481 | 484 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 485 | + * @param Application $app |
|
| 482 | 486 | */ |
| 483 | 487 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 484 | 488 | { |
@@ -566,6 +570,7 @@ discard block |
||
| 566 | 570 | * |
| 567 | 571 | * @param $productClassDest コピー先となる商品規格 |
| 568 | 572 | * @param $productClassOrig コピー元となる商品規格 |
| 573 | + * @param Application $app |
|
| 569 | 574 | */ |
| 570 | 575 | private function setDefualtProductClass($app, $productClassDest, $productClassOrig) { |
| 571 | 576 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -607,6 +612,7 @@ discard block |
||
| 607 | 612 | * 商品規格を登録 |
| 608 | 613 | * |
| 609 | 614 | * @param $ProductClasses 登録される商品規格 |
| 615 | + * @param Application $app |
|
| 610 | 616 | */ |
| 611 | 617 | private function insertProductClass($app, $Product, $ProductClasses) { |
| 612 | 618 | |
@@ -659,7 +665,6 @@ discard block |
||
| 659 | 665 | /** |
| 660 | 666 | * 規格の分類判定 |
| 661 | 667 | * |
| 662 | - * @param Eccube\Entity\ClassName $ClassesName |
|
| 663 | 668 | * @return boolean |
| 664 | 669 | */ |
| 665 | 670 | private function isValiedCategory($class_name) |
@@ -642,7 +642,7 @@ |
||
| 642 | 642 | * |
| 643 | 643 | * @param Request $request |
| 644 | 644 | * @param $authKey |
| 645 | - * @param $url |
|
| 645 | + * @param string $url |
|
| 646 | 646 | * @return array |
| 647 | 647 | */ |
| 648 | 648 | private function getRequestApi(Request $request, $authKey, $url) |
@@ -250,6 +250,9 @@ |
||
| 250 | 250 | } |
| 251 | 251 | |
| 252 | 252 | |
| 253 | + /** |
|
| 254 | + * @param InstallApplication $app |
|
| 255 | + */ |
|
| 253 | 256 | private function checkModules($app) |
| 254 | 257 | { |
| 255 | 258 | foreach ($this->required_modules as $module) { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * @param Application $app |
| 63 | 63 | * @param Request $request |
| 64 | 64 | * |
| 65 | - * @return string |
|
| 65 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 66 | 66 | */ |
| 67 | 67 | public function index(Application $app, Request $request) |
| 68 | 68 | { |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | * @param Application $app |
| 90 | 90 | * @param Request $request |
| 91 | 91 | * |
| 92 | - * @return string |
|
| 92 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 93 | 93 | */ |
| 94 | 94 | public function history(Application $app, Request $request, $id) |
| 95 | 95 | { |
@@ -118,7 +118,7 @@ discard block |
||
| 118 | 118 | * @param Request $request |
| 119 | 119 | * @param id $id |
| 120 | 120 | * |
| 121 | - * @return string |
|
| 121 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 122 | 122 | */ |
| 123 | 123 | public function order(Application $app, Request $request, $id) |
| 124 | 124 | { |
@@ -155,7 +155,7 @@ discard block |
||
| 155 | 155 | * @param Application $app |
| 156 | 156 | * @param Request $request |
| 157 | 157 | * |
| 158 | - * @return string |
|
| 158 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 159 | 159 | */ |
| 160 | 160 | public function favorite(Application $app, Request $request) |
| 161 | 161 | { |
@@ -182,9 +182,8 @@ discard block |
||
| 182 | 182 | |
| 183 | 183 | /** |
| 184 | 184 | * @param Application $app |
| 185 | - * @param Request $request |
|
| 186 | 185 | * |
| 187 | - * @return string |
|
| 186 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
| 188 | 187 | */ |
| 189 | 188 | public function delete(Application $app, $id) |
| 190 | 189 | { |
@@ -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 | |