@@ -599,7 +599,7 @@ discard block |
||
599 | 599 | * ``` |
600 | 600 | * |
601 | 601 | * @param $link |
602 | - * @param $context |
|
602 | + * @param string $context |
|
603 | 603 | * @see \Codeception\Module\WebDriver::click() |
604 | 604 | */ |
605 | 605 | public function click($link, $context = null) { |
@@ -1402,8 +1402,8 @@ discard block |
||
1402 | 1402 | * ?> |
1403 | 1403 | * ``` |
1404 | 1404 | * |
1405 | - * @param $select |
|
1406 | - * @param $option |
|
1405 | + * @param string $select |
|
1406 | + * @param string $option |
|
1407 | 1407 | * @see \Codeception\Module\WebDriver::selectOption() |
1408 | 1408 | */ |
1409 | 1409 | public function selectOption($select, $option) { |
@@ -1475,8 +1475,8 @@ discard block |
||
1475 | 1475 | * ?> |
1476 | 1476 | * ``` |
1477 | 1477 | * |
1478 | - * @param $field |
|
1479 | - * @param $value |
|
1478 | + * @param string $field |
|
1479 | + * @param string $value |
|
1480 | 1480 | * @see \Codeception\Module\WebDriver::fillField() |
1481 | 1481 | */ |
1482 | 1482 | public function fillField($field, $value) { |
@@ -1494,7 +1494,7 @@ discard block |
||
1494 | 1494 | * $I->clearField('#username'); |
1495 | 1495 | * ``` |
1496 | 1496 | * |
1497 | - * @param $field |
|
1497 | + * @param string $field |
|
1498 | 1498 | * @see \Codeception\Module\WebDriver::clearField() |
1499 | 1499 | */ |
1500 | 1500 | public function clearField($field) { |
@@ -1562,9 +1562,9 @@ discard block |
||
1562 | 1562 | * |
1563 | 1563 | * |
1564 | 1564 | * @param $cssOrXpath |
1565 | - * @param $attribute |
|
1565 | + * @param string $attribute |
|
1566 | 1566 | * |
1567 | - * @return mixed |
|
1567 | + * @return string |
|
1568 | 1568 | * @see \Codeception\Module\WebDriver::grabAttributeFrom() |
1569 | 1569 | */ |
1570 | 1570 | public function grabAttributeFrom($cssOrXpath, $attribute) { |
@@ -1619,7 +1619,7 @@ discard block |
||
1619 | 1619 | * ?> |
1620 | 1620 | * ``` |
1621 | 1621 | * |
1622 | - * @param $cssOrXpath |
|
1622 | + * @param string $cssOrXpath |
|
1623 | 1623 | * @param $attribute |
1624 | 1624 | * @return string[] |
1625 | 1625 | * @see \Codeception\Module\WebDriver::grabMultiple() |
@@ -1827,8 +1827,8 @@ discard block |
||
1827 | 1827 | * $I->seeNumberOfElements('tr', [0,10]); // between 0 and 10 elements |
1828 | 1828 | * ?> |
1829 | 1829 | * ``` |
1830 | - * @param $selector |
|
1831 | - * @param mixed $expected int or int[] |
|
1830 | + * @param string $selector |
|
1831 | + * @param integer $expected int or int[] |
|
1832 | 1832 | * @see \Codeception\Module\WebDriver::seeNumberOfElements() |
1833 | 1833 | */ |
1834 | 1834 | public function seeNumberOfElements($selector, $expected) { |
@@ -2354,7 +2354,7 @@ discard block |
||
2354 | 2354 | * ?> |
2355 | 2355 | * ``` |
2356 | 2356 | * |
2357 | - * @param $element |
|
2357 | + * @param string $element |
|
2358 | 2358 | * @param int $timeout seconds |
2359 | 2359 | * @throws \Exception |
2360 | 2360 | * @see \Codeception\Module\WebDriver::waitForElement() |
@@ -2399,7 +2399,7 @@ discard block |
||
2399 | 2399 | * ?> |
2400 | 2400 | * ``` |
2401 | 2401 | * |
2402 | - * @param $element |
|
2402 | + * @param string $element |
|
2403 | 2403 | * @param int $timeout seconds |
2404 | 2404 | * @throws \Exception |
2405 | 2405 | * @see \Codeception\Module\WebDriver::waitForElementNotVisible() |
@@ -2464,7 +2464,7 @@ discard block |
||
2464 | 2464 | * |
2465 | 2465 | * Wait for $timeout seconds. |
2466 | 2466 | * |
2467 | - * @param int|float $timeout secs |
|
2467 | + * @param integer $timeout secs |
|
2468 | 2468 | * @throws \Codeception\Exception\TestRuntimeException |
2469 | 2469 | * @see \Codeception\Module\WebDriver::wait() |
2470 | 2470 | */ |
@@ -2810,7 +2810,7 @@ discard block |
||
2810 | 2810 | * ?> |
2811 | 2811 | * ``` |
2812 | 2812 | * |
2813 | - * @param $element |
|
2813 | + * @param string $element |
|
2814 | 2814 | * @param $char string|array Can be char or array with modifier. You can provide several chars. |
2815 | 2815 | * @throws \Codeception\Exception\ElementNotFound |
2816 | 2816 | * @see \Codeception\Module\WebDriver::pressKey() |
@@ -3065,7 +3065,7 @@ discard block |
||
3065 | 3065 | * |
3066 | 3066 | * In 3rd argument you can set number a seconds to wait for element to appear |
3067 | 3067 | * |
3068 | - * @param $element |
|
3068 | + * @param string $element |
|
3069 | 3069 | * @param $actions |
3070 | 3070 | * @param int $timeout |
3071 | 3071 | * @see \Codeception\Module\WebDriver::performOn() |
@@ -3135,6 +3135,7 @@ discard block |
||
3135 | 3135 | * |
3136 | 3136 | * |
3137 | 3137 | * @see \hipanel\tests\_support\Helper\CredentialsProvider::needPage() |
3138 | + * @param string $url |
|
3138 | 3139 | */ |
3139 | 3140 | public function needPage($url) { |
3140 | 3141 | return $this->getScenario()->runStep(new \Codeception\Step\Action('needPage', func_get_args())); |
@@ -3146,6 +3147,7 @@ discard block |
||
3146 | 3147 | * |
3147 | 3148 | * |
3148 | 3149 | * @see \hipanel\tests\_support\Helper\CredentialsProvider::storeSession() |
3150 | + * @param string $name |
|
3149 | 3151 | */ |
3150 | 3152 | public function storeSession($name) { |
3151 | 3153 | return $this->getScenario()->runStep(new \Codeception\Step\Action('storeSession', func_get_args())); |
@@ -3157,6 +3159,7 @@ discard block |
||
3157 | 3159 | * |
3158 | 3160 | * |
3159 | 3161 | * @see \hipanel\tests\_support\Helper\CredentialsProvider::retrieveSession() |
3162 | + * @param string $name |
|
3160 | 3163 | */ |
3161 | 3164 | public function retrieveSession($name) { |
3162 | 3165 | return $this->getScenario()->runStep(new \Codeception\Step\Action('retrieveSession', func_get_args())); |