@@ -326,7 +326,6 @@ |
||
326 | 326 | |
327 | 327 | /** |
328 | 328 | * @param $row |
329 | - * @param null $callback |
|
330 | 329 | */ |
331 | 330 | public function fputcsv($row) |
332 | 331 | { |
@@ -57,7 +57,7 @@ |
||
57 | 57 | /** |
58 | 58 | * Constructor. |
59 | 59 | * |
60 | - * @param Query|QueryBuilder $query A Doctrine ORM query or query builder. |
|
60 | + * @param Query $query A Doctrine ORM query or query builder. |
|
61 | 61 | * @param boolean $fetchJoinCollection Whether the query joins a collection (true by default). |
62 | 62 | */ |
63 | 63 | public function __construct($query, $fetchJoinCollection = true) |
@@ -16,7 +16,7 @@ |
||
16 | 16 | * |
17 | 17 | * @param Application $app |
18 | 18 | * |
19 | - * @return \Symfony\Component\HttpFoundation\Response |
|
19 | + * @return string |
|
20 | 20 | */ |
21 | 21 | public function testAdmin(Application $app) |
22 | 22 | { |
@@ -12,6 +12,9 @@ |
||
12 | 12 | |
13 | 13 | class DragAndDropBy extends WebDriverActions |
14 | 14 | { |
15 | + /** |
|
16 | + * @param \Facebook\WebDriver\Remote\RemoteWebElement $source |
|
17 | + */ |
|
15 | 18 | public function __construct(WebDriver $driver, $source, $x_offset, $y_offset) |
16 | 19 | { |
17 | 20 | parent::__construct($driver); |
@@ -14,6 +14,9 @@ |
||
14 | 14 | */ |
15 | 15 | private $timeout_in_second; |
16 | 16 | |
17 | + /** |
|
18 | + * @param integer $timeout_in_second |
|
19 | + */ |
|
17 | 20 | function __construct($timeout_in_second) |
18 | 21 | { |
19 | 22 | $this->timeout_in_second = $timeout_in_second; |
@@ -48,12 +48,18 @@ discard block |
||
48 | 48 | return $this; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param integer $rowNum |
|
53 | + */ |
|
51 | 54 | public function 一覧_編集($rowNum) |
52 | 55 | { |
53 | 56 | $this->tester->click("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td:nth-child(2) > a"); |
54 | 57 | return $this; |
55 | 58 | } |
56 | 59 | |
60 | + /** |
|
61 | + * @param integer $rowNum |
|
62 | + */ |
|
57 | 63 | public function 一覧_削除($rowNum, $execute = true) |
58 | 64 | { |
59 | 65 | $this->tester->click("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pr-3 > div > div > a"); |
@@ -67,6 +73,9 @@ discard block |
||
67 | 73 | return $this; |
68 | 74 | } |
69 | 75 | |
76 | + /** |
|
77 | + * @param integer $rowNum |
|
78 | + */ |
|
70 | 79 | public function 一覧_仮会員メール再送($rowNum) |
71 | 80 | { |
72 | 81 | $this->tester->click(['xpath' => "//*[@id='search_form']//div/table/tbody/tr[${rowNum}]/td[6]/div/div[1]/a"]); |
@@ -92,6 +101,9 @@ discard block |
||
92 | 101 | $this->tester->click('#search_form > div.c-contentsArea__cols > div > div > div.row.justify-content-between.mb-2 > div.col-5.text-right > div:nth-child(2) > div > button:nth-child(2)'); |
93 | 102 | } |
94 | 103 | |
104 | + /** |
|
105 | + * @param integer $rowNum |
|
106 | + */ |
|
95 | 107 | public function 一覧_会員ID($rowNum) |
96 | 108 | { |
97 | 109 | return $this->tester->grabTextFrom("#search_form > div.c-contentsArea__cols > div > div > div.card.rounded.border-0.mb-4 > div > table > tbody > tr:nth-child(${rowNum}) > td.align-middle.pl-3"); |
@@ -27,6 +27,9 @@ |
||
27 | 27 | class ShoppingLoginPage extends AbstractFrontPage |
28 | 28 | { |
29 | 29 | |
30 | + /** |
|
31 | + * @param \AcceptanceTester $I |
|
32 | + */ |
|
30 | 33 | public static function at($I) |
31 | 34 | { |
32 | 35 | $page = new self($I); |
@@ -163,6 +163,9 @@ discard block |
||
163 | 163 | $this->addWarning('admin.delete.warning', 'admin'); |
164 | 164 | } |
165 | 165 | |
166 | + /** |
|
167 | + * @param string $targetPath |
|
168 | + */ |
|
166 | 169 | public function setLoginTargetPath($targetPath, $namespace = null) |
167 | 170 | { |
168 | 171 | if (is_null($namespace)) { |
@@ -179,7 +182,7 @@ discard block |
||
179 | 182 | * @param array $path An array of path parameters |
180 | 183 | * @param array $query An array of query parameters |
181 | 184 | * |
182 | - * @return Response A Response instance |
|
185 | + * @return \Symfony\Component\HttpFoundation\Response A Response instance |
|
183 | 186 | */ |
184 | 187 | public function forwardToRoute($route, array $path = [], array $query = []) |
185 | 188 | { |
@@ -347,10 +347,10 @@ discard block |
||
347 | 347 | } |
348 | 348 | |
349 | 349 | /** |
350 | - * @param $em |
|
350 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
351 | 351 | * @param array $excludes |
352 | 352 | * |
353 | - * @return array |
|
353 | + * @return null|Request |
|
354 | 354 | */ |
355 | 355 | protected function findOrderStatus($em, array $excludes) |
356 | 356 | { |
@@ -367,10 +367,10 @@ discard block |
||
367 | 367 | } |
368 | 368 | |
369 | 369 | /** |
370 | - * @param $em |
|
370 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
371 | 371 | * @param array $excludes |
372 | 372 | * |
373 | - * @return array |
|
373 | + * @return null|Request |
|
374 | 374 | */ |
375 | 375 | protected function getOrderEachStatus($em, array $excludes) |
376 | 376 | { |
@@ -400,11 +400,11 @@ discard block |
||
400 | 400 | } |
401 | 401 | |
402 | 402 | /** |
403 | - * @param $em |
|
404 | - * @param $dateTime |
|
403 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
404 | + * @param \DateTime $dateTime |
|
405 | 405 | * @param array $excludes |
406 | 406 | * |
407 | - * @return array |
|
407 | + * @return null|Request |
|
408 | 408 | */ |
409 | 409 | protected function getSalesByMonth($em, $dateTime, array $excludes) |
410 | 410 | { |
@@ -438,11 +438,11 @@ discard block |
||
438 | 438 | } |
439 | 439 | |
440 | 440 | /** |
441 | - * @param $em |
|
442 | - * @param $dateTime |
|
441 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
442 | + * @param \DateTime $dateTime |
|
443 | 443 | * @param array $excludes |
444 | 444 | * |
445 | - * @return array |
|
445 | + * @return null|Request |
|
446 | 446 | */ |
447 | 447 | protected function getSalesByDay($em, $dateTime, array $excludes) |
448 | 448 | { |
@@ -476,9 +476,9 @@ discard block |
||
476 | 476 | } |
477 | 477 | |
478 | 478 | /** |
479 | - * @param $em |
|
479 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
480 | 480 | * |
481 | - * @return mixed |
|
481 | + * @return null|Request |
|
482 | 482 | * |
483 | 483 | * @throws NoResultException |
484 | 484 | * @throws \Doctrine\ORM\NonUniqueResultException |
@@ -499,9 +499,9 @@ discard block |
||
499 | 499 | } |
500 | 500 | |
501 | 501 | /** |
502 | - * @param $em |
|
502 | + * @param \Doctrine\ORM\EntityManagerInterface $em |
|
503 | 503 | * |
504 | - * @return mixed |
|
504 | + * @return null|Request |
|
505 | 505 | * |
506 | 506 | * @throws NoResultException |
507 | 507 | * @throws \Doctrine\ORM\NonUniqueResultException |