@@ -57,7 +57,7 @@ |
||
57 | 57 | * * Tab/Section::name=Text Of Setting (will ensure that the correct section is navigated to, uses setting name (exact), not ID) |
58 | 58 | * * name=Text Of Setting (will not navigate, uses setting name (exact) not ID) |
59 | 59 | * |
60 | - * @param $identifier |
|
60 | + * @param string $identifier |
|
61 | 61 | * @param $value |
62 | 62 | * @throws \Magium\InvalidInstructionException |
63 | 63 | */ |
@@ -43,6 +43,9 @@ |
||
43 | 43 | return $this->messages; |
44 | 44 | } |
45 | 45 | |
46 | + /** |
|
47 | + * @param string $message |
|
48 | + */ |
|
46 | 49 | public function addMessage($message) |
47 | 50 | { |
48 | 51 | $this->messages[] = $message; |
@@ -27,7 +27,7 @@ |
||
27 | 27 | |
28 | 28 | /** |
29 | 29 | * @param $nodePath |
30 | - * @return WebDriverElement |
|
30 | + * @return null|\Facebook\WebDriver\Remote\RemoteWebElement |
|
31 | 31 | */ |
32 | 32 | |
33 | 33 | public function getNode($nodePath) |
@@ -80,6 +80,9 @@ |
||
80 | 80 | } |
81 | 81 | |
82 | 82 | |
83 | + /** |
|
84 | + * @param string $type |
|
85 | + */ |
|
83 | 86 | public function addFilterType($type) |
84 | 87 | { |
85 | 88 | $type = $this->filterTypeName($type); |
@@ -25,6 +25,10 @@ |
||
25 | 25 | return $this->products; |
26 | 26 | } |
27 | 27 | |
28 | + /** |
|
29 | + * @param integer $count |
|
30 | + * @param string $attribute |
|
31 | + */ |
|
28 | 32 | protected function getByXpath($type, $count, $attribute = null, $getElement = false) |
29 | 33 | { |
30 | 34 | $xpath = $this->getElementXpath($type, $count); |
@@ -300,7 +300,7 @@ discard block |
||
300 | 300 | } |
301 | 301 | |
302 | 302 | /** |
303 | - * @param string $shippinFirstNameXpath |
|
303 | + * @param string $shippingFirstNameXpath |
|
304 | 304 | */ |
305 | 305 | public function setShippingFirstNameXpath($shippingFirstNameXpath) |
306 | 306 | { |
@@ -404,6 +404,7 @@ discard block |
||
404 | 404 | } |
405 | 405 | |
406 | 406 | /** |
407 | + * @param string $region |
|
407 | 408 | * @return string |
408 | 409 | */ |
409 | 410 | public function getShippingRegionIdXpath($region) |
@@ -437,6 +438,7 @@ discard block |
||
437 | 438 | } |
438 | 439 | |
439 | 440 | /** |
441 | + * @param string $country |
|
440 | 442 | * @return string |
441 | 443 | */ |
442 | 444 | public function getShippingCountryIdXpath($country) |
@@ -517,6 +519,9 @@ discard block |
||
517 | 519 | $this->shippingContinueCompletedXpath = $shippingContinueCompletedXpath; |
518 | 520 | } |
519 | 521 | |
522 | + /** |
|
523 | + * @return string |
|
524 | + */ |
|
520 | 525 | public function getBillingContinueCompletedXpath() |
521 | 526 | { |
522 | 527 | return $this->translatePlaceholders($this->billingContinueCompletedXpath); |
@@ -589,6 +594,7 @@ discard block |
||
589 | 594 | } |
590 | 595 | |
591 | 596 | /** |
597 | + * @param string $region |
|
592 | 598 | * @return string |
593 | 599 | */ |
594 | 600 | public function getBillingRegionIdXpath($region) |
@@ -606,6 +612,7 @@ discard block |
||
606 | 612 | } |
607 | 613 | |
608 | 614 | /** |
615 | + * @param string $country |
|
609 | 616 | * @return string |
610 | 617 | */ |
611 | 618 | public function getBillingCountryIdXpath($country) |
@@ -673,6 +680,7 @@ discard block |
||
673 | 680 | |
674 | 681 | |
675 | 682 | /** |
683 | + * @param integer $itemCount |
|
676 | 684 | * @return string |
677 | 685 | */ |
678 | 686 | public function getCartSummaryCheckoutProductLoopPriceXpath($itemCount) |
@@ -682,6 +690,7 @@ discard block |
||
682 | 690 | } |
683 | 691 | |
684 | 692 | /** |
693 | + * @param integer $itemCount |
|
685 | 694 | * @return string |
686 | 695 | */ |
687 | 696 | public function getCartSummaryCheckoutProductLoopNameXpath($itemCount) |
@@ -691,6 +700,7 @@ discard block |
||
691 | 700 | } |
692 | 701 | |
693 | 702 | /** |
703 | + * @param integer $itemCount |
|
694 | 704 | * @return string |
695 | 705 | */ |
696 | 706 | public function getCartSummaryCheckoutProductLoopQtyXpath($itemCount) |
@@ -700,6 +710,7 @@ discard block |
||
700 | 710 | } |
701 | 711 | |
702 | 712 | /** |
713 | + * @param integer $itemCount |
|
703 | 714 | * @return string |
704 | 715 | */ |
705 | 716 | public function getCartSummaryCheckoutProductLoopSubtotalXpath($itemCount) |