@@ -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 | */ |
@@ -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"; |
@@ -56,7 +56,7 @@ |
||
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, |
@@ -103,7 +103,7 @@ |
||
103 | 103 | /** |
104 | 104 | * Get a plugin |
105 | 105 | * |
106 | - * @param int|string $id Id or plugin code |
|
106 | + * @param string $id Id or plugin code |
|
107 | 107 | * @return array [$result, $info] |
108 | 108 | */ |
109 | 109 | public function getPlugin($id) |
@@ -108,7 +108,7 @@ |
||
108 | 108 | */ |
109 | 109 | public function getPlugin($id) |
110 | 110 | { |
111 | - $url = $this->getApiUrl() . '/plugin/'.$id; |
|
111 | + $url = $this->getApiUrl().'/plugin/'.$id; |
|
112 | 112 | |
113 | 113 | return $this->getRequestApi($url); |
114 | 114 | } |
@@ -188,7 +188,7 @@ discard block |
||
188 | 188 | $Member = $this->requestContext->getCurrentUser(); |
189 | 189 | if ($Member instanceof Member) { |
190 | 190 | $AuthorityRoles = $this->authorityRoleRepository->findBy(['Authority' => $Member->getAuthority()]); |
191 | - $baseUrl = $event->getRequest()->getBaseUrl() . '/' . $this->eccubeConfig['eccube_admin_route']; |
|
191 | + $baseUrl = $event->getRequest()->getBaseUrl().'/'.$this->eccubeConfig['eccube_admin_route']; |
|
192 | 192 | $eccubeNav = $this->getDisplayEccubeNav($eccubeNav, $AuthorityRoles, $baseUrl); |
193 | 193 | } |
194 | 194 | $this->twig->addGlobal('eccubeNav', $eccubeNav); |
@@ -219,7 +219,7 @@ discard block |
||
219 | 219 | $param = array_key_exists('param', $childNav) ? $childNav['param'] : []; |
220 | 220 | $url = $this->router->generate($childNav['url'], $param); |
221 | 221 | foreach ($AuthorityRoles as $AuthorityRole) { |
222 | - $denyUrl = str_replace('/', '\/', $baseUrl . $AuthorityRole->getDenyUrl()); |
|
222 | + $denyUrl = str_replace('/', '\/', $baseUrl.$AuthorityRole->getDenyUrl()); |
|
223 | 223 | if (preg_match("/^({$denyUrl})/i", $url)) { |
224 | 224 | // 権限がないURLの場合は配列から削除 |
225 | 225 | unset($parentNav[$key]); |