@@ -56,7 +56,7 @@ |
||
56 | 56 | |
57 | 57 | /** |
58 | 58 | * JoinClause constructor. |
59 | - * @param $leftJoin |
|
59 | + * @param boolean $leftJoin |
|
60 | 60 | * @param $join |
61 | 61 | * @param $alias |
62 | 62 | * @param $conditionType |
@@ -37,7 +37,7 @@ |
||
37 | 37 | |
38 | 38 | /** |
39 | 39 | * OrderByClause constructor. |
40 | - * @param $sort |
|
40 | + * @param string $sort |
|
41 | 41 | * @param string $order |
42 | 42 | */ |
43 | 43 | function __construct($sort, $order = 'asc') |
@@ -53,6 +53,9 @@ |
||
53 | 53 | $this->params = $params; |
54 | 54 | } |
55 | 55 | |
56 | + /** |
|
57 | + * @param Expr\Comparison $expr |
|
58 | + */ |
|
56 | 59 | private static function newWhereClause($expr, $x, $y) |
57 | 60 | { |
58 | 61 | if ($y) { |
@@ -37,7 +37,7 @@ |
||
37 | 37 | /** |
38 | 38 | * |
39 | 39 | * @param array $searchData |
40 | - * @return QueryBuilder |
|
40 | + * @return \Doctrine\ORM\QueryBuilder |
|
41 | 41 | */ |
42 | 42 | public function getQueryBuilderBySearchDataForAdmin($searchData) |
43 | 43 | { |
@@ -59,11 +59,17 @@ |
||
59 | 59 | */ |
60 | 60 | protected $formFactory; |
61 | 61 | |
62 | + /** |
|
63 | + * @param \Eccube\Application $app |
|
64 | + */ |
|
62 | 65 | protected function getSecurity($app) |
63 | 66 | { |
64 | 67 | return $this->tokenStorage; |
65 | 68 | } |
66 | 69 | |
70 | + /** |
|
71 | + * @param \Eccube\Application $app |
|
72 | + */ |
|
67 | 73 | protected function isTokenValid($app) |
68 | 74 | { |
69 | 75 | $csrf = $this->csrfTokenManager; |
@@ -270,6 +270,10 @@ discard block |
||
270 | 270 | return $str; |
271 | 271 | } |
272 | 272 | |
273 | + /** |
|
274 | + * @param string $topDir |
|
275 | + * @param Request $request |
|
276 | + */ |
|
273 | 277 | private function getTree($topDir, $request) |
274 | 278 | { |
275 | 279 | $finder = Finder::create()->in($topDir) |
@@ -307,6 +311,10 @@ discard block |
||
307 | 311 | return $tree; |
308 | 312 | } |
309 | 313 | |
314 | + /** |
|
315 | + * @param Application $app |
|
316 | + * @param string $nowDir |
|
317 | + */ |
|
310 | 318 | private function getFileList($app, $nowDir) |
311 | 319 | { |
312 | 320 | $topDir = $this->appConfig['user_data_realdir']; |
@@ -366,6 +374,9 @@ discard block |
||
366 | 374 | return (strpos($targetDir, $topDir) === 0); |
367 | 375 | } |
368 | 376 | |
377 | + /** |
|
378 | + * @return string |
|
379 | + */ |
|
369 | 380 | private function convertStrFromServer($target) |
370 | 381 | { |
371 | 382 | if ($this->encode == self::SJIS) { |
@@ -679,6 +679,8 @@ discard block |
||
679 | 679 | /** |
680 | 680 | * 登録、更新時のエラー画面表示 |
681 | 681 | * |
682 | + * @param Application $app |
|
683 | + * @param \Symfony\Component\Form\FormInterface $form |
|
682 | 684 | */ |
683 | 685 | protected function render($app, $form, $headers) |
684 | 686 | { |
@@ -710,6 +712,7 @@ discard block |
||
710 | 712 | * アップロードされたCSVファイルの行ごとの処理 |
711 | 713 | * |
712 | 714 | * @param $formFile |
715 | + * @param Application $app |
|
713 | 716 | * @return CsvImportService |
714 | 717 | */ |
715 | 718 | protected function getImportData($app, $formFile) |
@@ -787,6 +790,8 @@ discard block |
||
787 | 790 | |
788 | 791 | /** |
789 | 792 | * 商品カテゴリの削除、登録 |
793 | + * @param Application $app |
|
794 | + * @param CsvImportService $data |
|
790 | 795 | */ |
791 | 796 | protected function createProductCategory($row, Product $Product, $app, $data) |
792 | 797 | { |
@@ -886,6 +891,8 @@ discard block |
||
886 | 891 | |
887 | 892 | /** |
888 | 893 | * 商品規格分類1、商品規格分類2がnullとなる商品規格情報を作成 |
894 | + * @param Application $app |
|
895 | + * @param CsvImportService $data |
|
889 | 896 | */ |
890 | 897 | protected function createProductClass($row, Product $Product, $app, $data, $ClassCategory1 = null, $ClassCategory2 = null) |
891 | 898 | { |
@@ -1027,6 +1034,8 @@ discard block |
||
1027 | 1034 | |
1028 | 1035 | /** |
1029 | 1036 | * 商品規格情報を更新 |
1037 | + * @param Application $app |
|
1038 | + * @param CsvImportService $data |
|
1030 | 1039 | */ |
1031 | 1040 | protected function updateProductClass($row, Product $Product, ProductClass $ProductClass, $app, $data) |
1032 | 1041 | { |
@@ -1173,6 +1182,7 @@ discard block |
||
1173 | 1182 | /** |
1174 | 1183 | * 登録、更新時のエラー画面表示 |
1175 | 1184 | * |
1185 | + * @param string $message |
|
1176 | 1186 | */ |
1177 | 1187 | protected function addErrors($message) |
1178 | 1188 | { |
@@ -1247,6 +1257,7 @@ discard block |
||
1247 | 1257 | * ProductCategory作成 |
1248 | 1258 | * @param \Eccube\Entity\Product $Product |
1249 | 1259 | * @param \Eccube\Entity\Category $Category |
1260 | + * @param integer $rank |
|
1250 | 1261 | * @return ProductCategory |
1251 | 1262 | */ |
1252 | 1263 | private function makeProductCategory($Product, $Category, $rank) |
@@ -108,6 +108,9 @@ |
||
108 | 108 | ]; |
109 | 109 | } |
110 | 110 | |
111 | + /** |
|
112 | + * @param string $logFile |
|
113 | + */ |
|
111 | 114 | private function parseLogFile($logFile, $formData) |
112 | 115 | { |
113 | 116 | $log = array(); |
@@ -474,7 +474,7 @@ |
||
474 | 474 | * |
475 | 475 | * @param Application $app |
476 | 476 | * @param array $data リクエストパラメータ |
477 | - * @return array |
|
477 | + * @return \Symfony\Component\Validator\ConstraintViolationListInterface[] |
|
478 | 478 | */ |
479 | 479 | protected function customerValidation(Application $app, array $data) |
480 | 480 | { |