@@ -32,6 +32,9 @@ |
||
| 32 | 32 | { |
| 33 | 33 | protected $trait_proxies_directory; |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param string $dir |
|
| 37 | + */ |
|
| 35 | 38 | public function setTraitProxiesDirectory($dir) |
| 36 | 39 | { |
| 37 | 40 | $this->trait_proxies_directory = $dir; |
@@ -88,7 +88,7 @@ |
||
| 88 | 88 | * @param BlockRepository $blockRepository |
| 89 | 89 | * @param LayoutRepository $layoutRepository |
| 90 | 90 | * @param PageLayoutRepository $pageLayoutRepository |
| 91 | - * @param pageRepository $pageRepository |
|
| 91 | + * @param PageRepository $pageRepository |
|
| 92 | 92 | * @param ProductRepository $productRepository |
| 93 | 93 | * @param DeviceTypeRepository $deviceTypeRepository |
| 94 | 94 | */ |
@@ -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 | */ |
@@ -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"; |
@@ -96,7 +96,7 @@ discard block |
||
| 96 | 96 | /** |
| 97 | 97 | * 金額をポイントに変換する. |
| 98 | 98 | * |
| 99 | - * @param $price |
|
| 99 | + * @param double $price |
|
| 100 | 100 | * |
| 101 | 101 | * @return float ポイント |
| 102 | 102 | * |
@@ -153,6 +153,9 @@ discard block |
||
| 153 | 153 | } |
| 154 | 154 | } |
| 155 | 155 | |
| 156 | + /** |
|
| 157 | + * @param integer $point |
|
| 158 | + */ |
|
| 156 | 159 | public function prepare(ItemHolderInterface $itemHolder, $point) |
| 157 | 160 | { |
| 158 | 161 | // ユーザの保有ポイントを減算 |
@@ -160,6 +163,9 @@ discard block |
||
| 160 | 163 | $Customer->setPoint($Customer->getPoint() - $point); |
| 161 | 164 | } |
| 162 | 165 | |
| 166 | + /** |
|
| 167 | + * @param integer $point |
|
| 168 | + */ |
|
| 163 | 169 | public function rollback(ItemHolderInterface $itemHolder, $point) |
| 164 | 170 | { |
| 165 | 171 | // 利用したポイントをユーザに戻す. |
@@ -250,6 +250,9 @@ |
||
| 250 | 250 | $this->updatePluginStatus('/status/uninstalled', $Plugin); |
| 251 | 251 | } |
| 252 | 252 | |
| 253 | + /** |
|
| 254 | + * @param string $url |
|
| 255 | + */ |
|
| 253 | 256 | private function updatePluginStatus($url, Plugin $Plugin) |
| 254 | 257 | { |
| 255 | 258 | if ($Plugin->getSource()) { |
@@ -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, [ |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | * |
| 82 | 82 | * @throws PluginException |
| 83 | 83 | * |
| 84 | - * @param string $command |
|
| 84 | + * @param string[] $commands |
|
| 85 | 85 | */ |
| 86 | 86 | public function runCommand($commands, $output = null, $init = true) |
| 87 | 87 | { |
@@ -404,6 +404,9 @@ discard block |
||
| 404 | 404 | $Horizon->インストール(); |
| 405 | 405 | } |
| 406 | 406 | |
| 407 | + /** |
|
| 408 | + * @param string $fileName |
|
| 409 | + */ |
|
| 407 | 410 | private function publishPlugin($fileName) |
| 408 | 411 | { |
| 409 | 412 | 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); |