@@ -75,7 +75,7 @@  | 
                                                    ||
| 75 | 75 | |
| 76 | 76 | public function 規格管理()  | 
                                                        
| 77 | 77 |      { | 
                                                        
| 78 | - $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'],0, 200);  | 
                                                        |
| 78 | + $this->tester->scrollTo(['css' => '#standardConfig > div > div.d-block.text-center > a'], 0, 200);  | 
                                                        |
| 79 | 79 | $this->tester->click(['css' => '#standardConfig > div > div.d-block.text-center > a']);  | 
                                                        
| 80 | 80 | $this->tester->waitForElement(['css' => '#standardConfig > div > div.d-block.text-center > a']);  | 
                                                        
| 81 | 81 | $this->tester->wait(1);  | 
                                                        
@@ -79,7 +79,7 @@  | 
                                                    ||
| 79 | 79 | * @param null $category2  | 
                                                        
| 80 | 80 | * @return ProductDetailPage  | 
                                                        
| 81 | 81 | */  | 
                                                        
| 82 | - public function カートに入れる($num, $category1 = null, $category2= null)  | 
                                                        |
| 82 | + public function カートに入れる($num, $category1 = null, $category2 = null)  | 
                                                        |
| 83 | 83 |      { | 
                                                        
| 84 | 84 | $this->tester->fillField(['id' => 'quantity'], $num);  | 
                                                        
| 85 | 85 |          if (!is_null($category1)) { | 
                                                        
@@ -389,7 +389,6 @@ discard block  | 
                                                    ||
| 389 | 389 | }  | 
                                                        
| 390 | 390 | |
| 391 | 391 | /**  | 
                                                        
| 392 | - * @param \Doctrine\ORM\EntityManagerInterface $em  | 
                                                        |
| 393 | 392 | * @param array $excludes  | 
                                                        
| 394 | 393 | *  | 
                                                        
| 395 | 394 | * @return null|Request  | 
                                                        
@@ -422,9 +421,9 @@ discard block  | 
                                                    ||
| 422 | 421 | }  | 
                                                        
| 423 | 422 | |
| 424 | 423 | /**  | 
                                                        
| 425 | - * @param $dateTime  | 
                                                        |
| 424 | + * @param \DateTime $dateTime  | 
                                                        |
| 426 | 425 | *  | 
                                                        
| 427 | - * @return array|mixed  | 
                                                        |
| 426 | + * @return null|Request  | 
                                                        |
| 428 | 427 | *  | 
                                                        
| 429 | 428 | * @throws \Doctrine\ORM\NonUniqueResultException  | 
                                                        
| 430 | 429 | */  | 
                                                        
@@ -460,9 +459,9 @@ discard block  | 
                                                    ||
| 460 | 459 | }  | 
                                                        
| 461 | 460 | |
| 462 | 461 | /**  | 
                                                        
| 463 | - * @param $dateTime  | 
                                                        |
| 462 | + * @param \DateTime $dateTime  | 
                                                        |
| 464 | 463 | *  | 
                                                        
| 465 | - * @return array|mixed  | 
                                                        |
| 464 | + * @return null|Request  | 
                                                        |
| 466 | 465 | *  | 
                                                        
| 467 | 466 | * @throws \Doctrine\ORM\NonUniqueResultException  | 
                                                        
| 468 | 467 | */  | 
                                                        
@@ -500,7 +499,7 @@ discard block  | 
                                                    ||
| 500 | 499 | /**  | 
                                                        
| 501 | 500 | * 在庫切れ商品数を取得  | 
                                                        
| 502 | 501 | *  | 
                                                        
| 503 | - * @return mixed  | 
                                                        |
| 502 | + * @return null|Request  | 
                                                        |
| 504 | 503 | *  | 
                                                        
| 505 | 504 | * @throws \Doctrine\ORM\NonUniqueResultException  | 
                                                        
| 506 | 505 | */  | 
                                                        
@@ -518,7 +517,7 @@ discard block  | 
                                                    ||
| 518 | 517 | /**  | 
                                                        
| 519 | 518 | * 商品数を取得  | 
                                                        
| 520 | 519 | *  | 
                                                        
| 521 | - * @return mixed  | 
                                                        |
| 520 | + * @return null|Request  | 
                                                        |
| 522 | 521 | *  | 
                                                        
| 523 | 522 | * @throws \Doctrine\ORM\NonUniqueResultException  | 
                                                        
| 524 | 523 | */  | 
                                                        
@@ -535,7 +534,7 @@ discard block  | 
                                                    ||
| 535 | 534 | /**  | 
                                                        
| 536 | 535 | * 本会員数を取得  | 
                                                        
| 537 | 536 | *  | 
                                                        
| 538 | - * @return mixed  | 
                                                        |
| 537 | + * @return null|Request  | 
                                                        |
| 539 | 538 | *  | 
                                                        
| 540 | 539 | * @throws \Doctrine\ORM\NonUniqueResultException  | 
                                                        
| 541 | 540 | */  | 
                                                        
@@ -554,7 +553,7 @@ discard block  | 
                                                    ||
| 554 | 553 | *  | 
                                                        
| 555 | 554 | * @param Carbon $fromDate  | 
                                                        
| 556 | 555 | * @param Carbon $toDate  | 
                                                        
| 557 | - * @param $format  | 
                                                        |
| 556 | + * @param string $format  | 
                                                        |
| 558 | 557 | *  | 
                                                        
| 559 | 558 | * @return array  | 
                                                        
| 560 | 559 | */  | 
                                                        
@@ -126,7 +126,7 @@  | 
                                                    ||
| 126 | 126 | }  | 
                                                        
| 127 | 127 | |
| 128 | 128 | /**  | 
                                                        
| 129 | - * @param $Carts  | 
                                                        |
| 129 | + * @param \Eccube\Entity\Cart[] $Carts  | 
                                                        |
| 130 | 130 | *  | 
                                                        
| 131 | 131 | * @return \Symfony\Component\HttpFoundation\RedirectResponse  | 
                                                        
| 132 | 132 | */  | 
                                                        
@@ -270,7 +270,7 @@  | 
                                                    ||
| 270 | 270 | |
| 271 | 271 | // Assign session carts into customer carts  | 
                                                        
| 272 | 272 | $Carts = $this->cartService->getCarts();  | 
                                                        
| 273 | -            $qtyInCart = array_reduce($Carts, function($qty, $Cart) { | 
                                                        |
| 273 | +            $qtyInCart = array_reduce($Carts, function ($qty, $Cart) { | 
                                                        |
| 274 | 274 | return $qty + $Cart->getTotalQuantity();  | 
                                                        
| 275 | 275 | });  | 
                                                        
| 276 | 276 | |
@@ -96,7 +96,7 @@  | 
                                                    ||
| 96 | 96 |          $password = substr(str_shuffle('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'), 0, 20); | 
                                                        
| 97 | 97 | |
| 98 | 98 | // メルアド・新パスワード設定  | 
                                                        
| 99 | -        $I->submitForm('#form1',[ | 
                                                        |
| 99 | +        $I->submitForm('#form1', [ | 
                                                        |
| 100 | 100 | 'login_email' => $customer->getEmail(),  | 
                                                        
| 101 | 101 | 'password[first]' => $password,  | 
                                                        
| 102 | 102 | 'password[second]' => $password  | 
                                                        
@@ -59,6 +59,9 @@ discard block  | 
                                                    ||
| 59 | 59 | return $this;  | 
                                                        
| 60 | 60 | }  | 
                                                        
| 61 | 61 | |
| 62 | + /**  | 
                                                        |
| 63 | + * @param integer $value  | 
                                                        |
| 64 | + */  | 
                                                        |
| 62 | 65 | public function 詳細検索_ステータス($value)  | 
                                                        
| 63 | 66 |      { | 
                                                        
| 64 | 67 | $this->tester->click(self::$詳細検索ボタン);  | 
                                                        
@@ -155,6 +158,9 @@ discard block  | 
                                                    ||
| 155 | 158 | return $this;  | 
                                                        
| 156 | 159 | }  | 
                                                        
| 157 | 160 | |
| 161 | + /**  | 
                                                        |
| 162 | + * @param integer $rowNum  | 
                                                        |
| 163 | + */  | 
                                                        |
| 158 | 164 | public function Accept_複製する($rowNum)  | 
                                                        
| 159 | 165 |      { | 
                                                        
| 160 | 166 |          $modalCssSelector = "#page_admin_product > div.c-container > div.c-contentsArea > div.c-contentsArea__cols > div > div > form > div.card.rounded.border-0.mb-4 > div.card-body.p-0 > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div:nth-child(2) div.modal"; | 
                                                        
@@ -181,7 +181,7 @@  | 
                                                    ||
| 181 | 181 | ]  | 
                                                        
| 182 | 182 | );  | 
                                                        
| 183 | 183 | |
| 184 | -        if (count($errors) > 0 ) { | 
                                                        |
| 184 | +        if (count($errors) > 0) { | 
                                                        |
| 185 | 185 | // リセットキーに異常がある場合  | 
                                                        
| 186 | 186 | throw new HttpException\NotFoundHttpException();  | 
                                                        
| 187 | 187 | }  |