@@ -368,7 +368,7 @@ discard block |
||
| 368 | 368 | /** |
| 369 | 369 | * フォームからの入直内容に基づいて、受注情報の再計算を行う |
| 370 | 370 | * |
| 371 | - * @param $app |
|
| 371 | + * @param Application $app |
|
| 372 | 372 | * @param $Order |
| 373 | 373 | */ |
| 374 | 374 | protected function calculate($app, \Eccube\Entity\Order $Order) |
@@ -462,7 +462,7 @@ discard block |
||
| 462 | 462 | * - 受注ステータスが入金済に設定された場合に入金日を更新 |
| 463 | 463 | * |
| 464 | 464 | * |
| 465 | - * @param $app |
|
| 465 | + * @param Application $app |
|
| 466 | 466 | * @param $TargetOrder |
| 467 | 467 | * @param $OriginOrder |
| 468 | 468 | */ |
@@ -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( |
@@ -583,6 +583,8 @@ discard block |
||
| 583 | 583 | /** |
| 584 | 584 | * 登録、更新時のエラー画面表示 |
| 585 | 585 | * |
| 586 | + * @param Application $app |
|
| 587 | + * @param string $twig |
|
| 586 | 588 | */ |
| 587 | 589 | protected function render($app, $form, $headers, $twig) |
| 588 | 590 | { |
@@ -615,6 +617,7 @@ discard block |
||
| 615 | 617 | * アップロードされたCSVファイルの行ごとの処理 |
| 616 | 618 | * |
| 617 | 619 | * @param $formFile |
| 620 | + * @param Application $app |
|
| 618 | 621 | * @return CsvImportService |
| 619 | 622 | */ |
| 620 | 623 | protected function getImportData($app, $formFile) |
@@ -682,6 +685,8 @@ discard block |
||
| 682 | 685 | |
| 683 | 686 | /** |
| 684 | 687 | * 商品カテゴリの削除、登録 |
| 688 | + * @param Application $app |
|
| 689 | + * @param CsvImportService $data |
|
| 685 | 690 | */ |
| 686 | 691 | protected function createProductCategory($row, Product $Product, $app, $data) |
| 687 | 692 | { |
@@ -725,6 +730,8 @@ discard block |
||
| 725 | 730 | |
| 726 | 731 | /** |
| 727 | 732 | * 商品規格分類1、商品規格分類2がnullとなる商品規格情報を作成 |
| 733 | + * @param Application $app |
|
| 734 | + * @param CsvImportService $data |
|
| 728 | 735 | */ |
| 729 | 736 | protected function createProductClass($row, Product $Product, $app, $data, $ClassCategory1 = null, $ClassCategory2 = null) |
| 730 | 737 | { |
@@ -857,6 +864,8 @@ discard block |
||
| 857 | 864 | |
| 858 | 865 | /** |
| 859 | 866 | * 商品規格情報を更新 |
| 867 | + * @param Application $app |
|
| 868 | + * @param CsvImportService $data |
|
| 860 | 869 | */ |
| 861 | 870 | protected function updateProductClass($row, Product $Product, ProductClass $ProductClass, $app, $data) |
| 862 | 871 | { |
@@ -1003,6 +1012,7 @@ discard block |
||
| 1003 | 1012 | /** |
| 1004 | 1013 | * 登録、更新時のエラー画面表示 |
| 1005 | 1014 | * |
| 1015 | + * @param string $message |
|
| 1006 | 1016 | */ |
| 1007 | 1017 | protected function addErrors($message) |
| 1008 | 1018 | { |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use Eccube\Entity\Master\DeviceType; |
| 29 | 29 | use Eccube\Util\Str; |
| 30 | 30 | use Symfony\Component\Filesystem\Filesystem; |
| 31 | -use Symfony\Component\Finder\Finder; |
|
| 32 | 31 | use Symfony\Component\Form\FormError; |
| 33 | 32 | use Symfony\Component\HttpFoundation\Request; |
| 34 | 33 | use Symfony\Component\HttpFoundation\Response; |
@@ -256,6 +256,9 @@ |
||
| 256 | 256 | } |
| 257 | 257 | |
| 258 | 258 | |
| 259 | + /** |
|
| 260 | + * @param InstallApplication $app |
|
| 261 | + */ |
|
| 259 | 262 | private function checkModules($app) |
| 260 | 263 | { |
| 261 | 264 | foreach ($this->required_modules as $module) { |
@@ -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 |
@@ -26,7 +26,6 @@ |
||
| 26 | 26 | |
| 27 | 27 | use Eccube\Common\Constant; |
| 28 | 28 | use Eccube\Util\EntityUtil; |
| 29 | -use Symfony\Component\Form\FormFactory; |
|
| 30 | 29 | use Symfony\Component\HttpFoundation\Request; |
| 31 | 30 | |
| 32 | 31 | class CsvExportService |
@@ -328,7 +328,6 @@ discard block |
||
| 328 | 328 | |
| 329 | 329 | /** |
| 330 | 330 | * @param $row |
| 331 | - * @param null $callback |
|
| 332 | 331 | */ |
| 333 | 332 | public function fputcsv($row) |
| 334 | 333 | { |
@@ -425,7 +424,6 @@ discard block |
||
| 425 | 424 | * XXX self::setExportQueryBuilder() をコールする前に EntityManager を取得したいので、引数で渡している |
| 426 | 425 | * |
| 427 | 426 | * @param array $searchData セッションから取得した検索条件の配列 |
| 428 | - * @param EntityManager $em |
|
| 429 | 427 | */ |
| 430 | 428 | protected function findDeserializeObjects(array &$searchData) |
| 431 | 429 | { |