@@ -270,6 +270,9 @@ |
||
| 270 | 270 | }); |
| 271 | 271 | } |
| 272 | 272 | |
| 273 | + /** |
|
| 274 | + * @param string $key |
|
| 275 | + */ |
|
| 273 | 276 | protected function addErrors($key, FormInterface $form, ConstraintViolationListInterface $errors) |
| 274 | 277 | { |
| 275 | 278 | foreach ($errors as $error) { |
@@ -75,6 +75,9 @@ discard block |
||
| 75 | 75 | return $this; |
| 76 | 76 | } |
| 77 | 77 | |
| 78 | + /** |
|
| 79 | + * @param integer $value |
|
| 80 | + */ |
|
| 78 | 81 | public function 詳細検索_ステータス($value) |
| 79 | 82 | { |
| 80 | 83 | $this->tester->click(self::$詳細検索ボタン); |
@@ -193,6 +196,9 @@ discard block |
||
| 193 | 196 | return $this; |
| 194 | 197 | } |
| 195 | 198 | |
| 199 | + /** |
|
| 200 | + * @param integer $rowNum |
|
| 201 | + */ |
|
| 196 | 202 | public function Accept_複製する($rowNum) |
| 197 | 203 | { |
| 198 | 204 | $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"; |
@@ -401,6 +401,9 @@ discard block |
||
| 401 | 401 | $Horizon->インストール(); |
| 402 | 402 | } |
| 403 | 403 | |
| 404 | + /** |
|
| 405 | + * @param string $fileName |
|
| 406 | + */ |
|
| 404 | 407 | private function publishPlugin($fileName) |
| 405 | 408 | { |
| 406 | 409 | copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -547,6 +550,9 @@ discard block |
||
| 547 | 550 | /** @var Store_Plugin */ |
| 548 | 551 | protected $dependency; |
| 549 | 552 | |
| 553 | + /** |
|
| 554 | + * @param string $code |
|
| 555 | + */ |
|
| 550 | 556 | public function __construct(AcceptanceTester $I, $code, Store_Plugin $dependency = null) |
| 551 | 557 | { |
| 552 | 558 | parent::__construct($I); |
@@ -679,6 +685,9 @@ discard block |
||
| 679 | 685 | return $this; |
| 680 | 686 | } |
| 681 | 687 | |
| 688 | + /** |
|
| 689 | + * @param string $fileName |
|
| 690 | + */ |
|
| 682 | 691 | protected function publishPlugin($fileName) |
| 683 | 692 | { |
| 684 | 693 | $published = copy(codecept_data_dir().'/'.'plugins/'.$fileName, codecept_root_dir().'/repos/'.$fileName); |
@@ -697,6 +706,9 @@ discard block |
||
| 697 | 706 | /** @var string */ |
| 698 | 707 | private $code; |
| 699 | 708 | |
| 709 | + /** |
|
| 710 | + * @param string $code |
|
| 711 | + */ |
|
| 700 | 712 | public function __construct(AcceptanceTester $I, $code) |
| 701 | 713 | { |
| 702 | 714 | parent::__construct($I); |
@@ -245,6 +245,9 @@ |
||
| 245 | 245 | $this->io->success('EC-CUBE installation successful.'); |
| 246 | 246 | } |
| 247 | 247 | |
| 248 | + /** |
|
| 249 | + * @param string $databaseUrl |
|
| 250 | + */ |
|
| 248 | 251 | protected function getDatabaseName($databaseUrl) |
| 249 | 252 | { |
| 250 | 253 | if (0 === strpos($databaseUrl, 'sqlite')) { |
@@ -114,6 +114,9 @@ |
||
| 114 | 114 | } |
| 115 | 115 | } |
| 116 | 116 | |
| 117 | + /** |
|
| 118 | + * @param string $outputDir |
|
| 119 | + */ |
|
| 117 | 120 | protected function removeOutputDir($outputDir) |
| 118 | 121 | { |
| 119 | 122 | if (file_exists($outputDir)) { |
@@ -112,6 +112,9 @@ discard block |
||
| 112 | 112 | $this->eventDispatcher = $eventDispatcher; |
| 113 | 113 | } |
| 114 | 114 | |
| 115 | + /** |
|
| 116 | + * @param string $message |
|
| 117 | + */ |
|
| 115 | 118 | public function addSuccess($message, $namespace = 'front') |
| 116 | 119 | { |
| 117 | 120 | $this->session->getFlashBag()->add('eccube.'.$namespace.'.success', $message); |
@@ -122,6 +125,9 @@ discard block |
||
| 122 | 125 | $this->session->getFlashBag()->add('eccube.'.$namespace.'.error', $message); |
| 123 | 126 | } |
| 124 | 127 | |
| 128 | + /** |
|
| 129 | + * @param string $message |
|
| 130 | + */ |
|
| 125 | 131 | public function addDanger($message, $namespace = 'front') |
| 126 | 132 | { |
| 127 | 133 | $this->session->getFlashBag()->add('eccube.'.$namespace.'.danger', $message); |
@@ -132,6 +138,9 @@ discard block |
||
| 132 | 138 | $this->session->getFlashBag()->add('eccube.'.$namespace.'.warning', $message); |
| 133 | 139 | } |
| 134 | 140 | |
| 141 | + /** |
|
| 142 | + * @param string $message |
|
| 143 | + */ |
|
| 135 | 144 | public function addInfo($message, $namespace = 'front') |
| 136 | 145 | { |
| 137 | 146 | $this->session->getFlashBag()->add('eccube.'.$namespace.'.info', $message); |
@@ -412,7 +412,6 @@ discard block |
||
| 412 | 412 | } |
| 413 | 413 | |
| 414 | 414 | /** |
| 415 | - * @param \Doctrine\ORM\EntityManagerInterface $em |
|
| 416 | 415 | * @param array $excludes |
| 417 | 416 | * |
| 418 | 417 | * @return null|Request |
@@ -445,9 +444,9 @@ discard block |
||
| 445 | 444 | } |
| 446 | 445 | |
| 447 | 446 | /** |
| 448 | - * @param $dateTime |
|
| 447 | + * @param \DateTime $dateTime |
|
| 449 | 448 | * |
| 450 | - * @return array|mixed |
|
| 449 | + * @return null|Request |
|
| 451 | 450 | * |
| 452 | 451 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 453 | 452 | */ |
@@ -483,9 +482,9 @@ discard block |
||
| 483 | 482 | } |
| 484 | 483 | |
| 485 | 484 | /** |
| 486 | - * @param $dateTime |
|
| 485 | + * @param \DateTime $dateTime |
|
| 487 | 486 | * |
| 488 | - * @return array|mixed |
|
| 487 | + * @return null|Request |
|
| 489 | 488 | * |
| 490 | 489 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 491 | 490 | */ |
@@ -523,7 +522,7 @@ discard block |
||
| 523 | 522 | /** |
| 524 | 523 | * 在庫切れ商品数を取得 |
| 525 | 524 | * |
| 526 | - * @return mixed |
|
| 525 | + * @return null|Request |
|
| 527 | 526 | * |
| 528 | 527 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 529 | 528 | */ |
@@ -543,7 +542,7 @@ discard block |
||
| 543 | 542 | /** |
| 544 | 543 | * 商品数を取得 |
| 545 | 544 | * |
| 546 | - * @return mixed |
|
| 545 | + * @return null|Request |
|
| 547 | 546 | * |
| 548 | 547 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 549 | 548 | */ |
@@ -560,7 +559,7 @@ discard block |
||
| 560 | 559 | /** |
| 561 | 560 | * 本会員数を取得 |
| 562 | 561 | * |
| 563 | - * @return mixed |
|
| 562 | + * @return null|Request |
|
| 564 | 563 | * |
| 565 | 564 | * @throws \Doctrine\ORM\NonUniqueResultException |
| 566 | 565 | */ |
@@ -579,7 +578,7 @@ discard block |
||
| 579 | 578 | * |
| 580 | 579 | * @param Carbon $fromDate |
| 581 | 580 | * @param Carbon $toDate |
| 582 | - * @param $format |
|
| 581 | + * @param string $format |
|
| 583 | 582 | * |
| 584 | 583 | * @return array |
| 585 | 584 | */ |
@@ -84,7 +84,7 @@ |
||
| 84 | 84 | * @param BlockRepository $blockRepository |
| 85 | 85 | * @param LayoutRepository $layoutRepository |
| 86 | 86 | * @param PageLayoutRepository $pageLayoutRepository |
| 87 | - * @param pageRepository $pageRepository |
|
| 87 | + * @param PageRepository $pageRepository |
|
| 88 | 88 | * @param ProductRepository $productRepository |
| 89 | 89 | * @param DeviceTypeRepository $deviceTypeRepository |
| 90 | 90 | */ |
@@ -56,7 +56,7 @@ discard block |
||
| 56 | 56 | * @param MailService $mailService |
| 57 | 57 | * @param MailHistoryRepository $mailHistoryRepository |
| 58 | 58 | * @param OrderRepository $orderRepository |
| 59 | - * @param twig $twig |
|
| 59 | + * @param Environment $twig |
|
| 60 | 60 | */ |
| 61 | 61 | public function __construct( |
| 62 | 62 | MailService $mailService, |
@@ -227,6 +227,9 @@ discard block |
||
| 227 | 227 | ]; |
| 228 | 228 | } |
| 229 | 229 | |
| 230 | + /** |
|
| 231 | + * @param Order $Order |
|
| 232 | + */ |
|
| 230 | 233 | private function createBody($Order, $twig = 'Mail/order.twig') |
| 231 | 234 | { |
| 232 | 235 | return $this->renderView($twig, [ |