@@ -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) { |
@@ -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( |
@@ -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 | */ |
@@ -137,7 +137,7 @@ |
||
| 137 | 137 | * 仮受注情報作成 |
| 138 | 138 | * |
| 139 | 139 | * @param $Customer |
| 140 | - * @param $preOrderId |
|
| 140 | + * @param string $preOrderId |
|
| 141 | 141 | * @return mixed |
| 142 | 142 | * @throws \Doctrine\ORM\NoResultException |
| 143 | 143 | * @throws \Doctrine\ORM\NonUniqueResultException |
@@ -325,7 +325,6 @@ discard block |
||
| 325 | 325 | |
| 326 | 326 | /** |
| 327 | 327 | * @param $row |
| 328 | - * @param null $callback |
|
| 329 | 328 | */ |
| 330 | 329 | public function fputcsv($row) |
| 331 | 330 | { |
@@ -424,7 +423,6 @@ discard block |
||
| 424 | 423 | * XXX self::setExportQueryBuilder() をコールする前に EntityManager を取得したいので、引数で渡している |
| 425 | 424 | * |
| 426 | 425 | * @param array $searchData セッションから取得した検索条件の配列 |
| 427 | - * @param EntityManager $em |
|
| 428 | 426 | */ |
| 429 | 427 | protected function findDeserializeObjects(array &$searchData) |
| 430 | 428 | { |
@@ -57,7 +57,7 @@ |
||
| 57 | 57 | /** |
| 58 | 58 | * Constructor. |
| 59 | 59 | * |
| 60 | - * @param Query|QueryBuilder $query A Doctrine ORM query or query builder. |
|
| 60 | + * @param Query $query A Doctrine ORM query or query builder. |
|
| 61 | 61 | * @param boolean $fetchJoinCollection Whether the query joins a collection (true by default). |
| 62 | 62 | */ |
| 63 | 63 | public function __construct($query, $fetchJoinCollection = true) |
@@ -529,6 +529,9 @@ discard block |
||
| 529 | 529 | /** |
| 530 | 530 | * 登録、更新時のエラー画面表示 |
| 531 | 531 | * |
| 532 | + * @param Application $app |
|
| 533 | + * @param boolean $not_product_class |
|
| 534 | + * @param \Symfony\Component\Form\FormInterface $classForm |
|
| 532 | 535 | */ |
| 533 | 536 | protected function render($app, $Product, $ProductClass, $not_product_class, $classForm, $error = null) |
| 534 | 537 | { |
@@ -580,6 +583,7 @@ discard block |
||
| 580 | 583 | |
| 581 | 584 | /** |
| 582 | 585 | * 規格1と規格2を組み合わせた商品規格を作成 |
| 586 | + * @param Application $app |
|
| 583 | 587 | */ |
| 584 | 588 | private function createProductClasses($app, Product $Product, ClassName $ClassName1 = null, ClassName $ClassName2 = null) |
| 585 | 589 | { |
@@ -667,6 +671,7 @@ discard block |
||
| 667 | 671 | * |
| 668 | 672 | * @param $productClassDest コピー先となる商品規格 |
| 669 | 673 | * @param $productClassOrig コピー元となる商品規格 |
| 674 | + * @param Application $app |
|
| 670 | 675 | */ |
| 671 | 676 | private function setDefualtProductClass($app, $productClassDest, $productClassOrig) { |
| 672 | 677 | $productClassDest->setDeliveryDate($productClassOrig->getDeliveryDate()); |
@@ -590,6 +590,8 @@ discard block |
||
| 590 | 590 | /** |
| 591 | 591 | * 登録、更新時のエラー画面表示 |
| 592 | 592 | * |
| 593 | + * @param Application $app |
|
| 594 | + * @param string $twig |
|
| 593 | 595 | */ |
| 594 | 596 | protected function render($app, $form, $headers, $twig) |
| 595 | 597 | { |
@@ -621,6 +623,7 @@ discard block |
||
| 621 | 623 | * アップロードされたCSVファイルの行ごとの処理 |
| 622 | 624 | * |
| 623 | 625 | * @param $formFile |
| 626 | + * @param Application $app |
|
| 624 | 627 | * @return CsvImportService |
| 625 | 628 | */ |
| 626 | 629 | protected function getImportData($app, $formFile) |
@@ -698,6 +701,8 @@ discard block |
||
| 698 | 701 | |
| 699 | 702 | /** |
| 700 | 703 | * 商品カテゴリの削除、登録 |
| 704 | + * @param Application $app |
|
| 705 | + * @param CsvImportService $data |
|
| 701 | 706 | */ |
| 702 | 707 | protected function createProductCategory($row, Product $Product, $app, $data) |
| 703 | 708 | { |
@@ -797,6 +802,8 @@ discard block |
||
| 797 | 802 | |
| 798 | 803 | /** |
| 799 | 804 | * 商品規格分類1、商品規格分類2がnullとなる商品規格情報を作成 |
| 805 | + * @param Application $app |
|
| 806 | + * @param CsvImportService $data |
|
| 800 | 807 | */ |
| 801 | 808 | protected function createProductClass($row, Product $Product, $app, $data, $ClassCategory1 = null, $ClassCategory2 = null) |
| 802 | 809 | { |
@@ -938,6 +945,8 @@ discard block |
||
| 938 | 945 | |
| 939 | 946 | /** |
| 940 | 947 | * 商品規格情報を更新 |
| 948 | + * @param Application $app |
|
| 949 | + * @param CsvImportService $data |
|
| 941 | 950 | */ |
| 942 | 951 | protected function updateProductClass($row, Product $Product, ProductClass $ProductClass, $app, $data) |
| 943 | 952 | { |
@@ -1084,6 +1093,7 @@ discard block |
||
| 1084 | 1093 | /** |
| 1085 | 1094 | * 登録、更新時のエラー画面表示 |
| 1086 | 1095 | * |
| 1096 | + * @param string $message |
|
| 1087 | 1097 | */ |
| 1088 | 1098 | protected function addErrors($message) |
| 1089 | 1099 | { |
@@ -1158,6 +1168,7 @@ discard block |
||
| 1158 | 1168 | * ProductCategory作成 |
| 1159 | 1169 | * @param \Eccube\Entity\Product $Product |
| 1160 | 1170 | * @param \Eccube\Entity\Category $Category |
| 1171 | + * @param integer $rank |
|
| 1161 | 1172 | * @return ProductCategory |
| 1162 | 1173 | */ |
| 1163 | 1174 | private function makeProductCategory($Product, $Category, $rank) |