diff options
author | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-07-07 16:29:26 +0300 |
---|---|---|
committer | Maurício Meneghini Fauth <mauricio@fauth.dev> | 2020-07-07 16:30:27 +0300 |
commit | e81146e4b38bc6f8ce9163c399b31bcc0e280d6e (patch) | |
tree | b7e754812b0b7d22e94e6999ae587f6bd15e602d /test/selenium | |
parent | 06ffb871b45d6cba47bf22af9cdde9c792b97739 (diff) |
Remove useless return annotations
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
Diffstat (limited to 'test/selenium')
-rw-r--r-- | test/selenium/TestBase.php | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/selenium/TestBase.php b/test/selenium/TestBase.php index bc9ff4f0cc..b85d413ed1 100644 --- a/test/selenium/TestBase.php +++ b/test/selenium/TestBase.php @@ -402,8 +402,6 @@ abstract class TestBase extends TestCase /** * Checks whether the user is a superuser. - * - * @return bool */ protected function isSuperUser(): bool { @@ -607,8 +605,6 @@ abstract class TestBase extends TestCase * @param Closure|null $onResults The function to call when the results are displayed * @param Closure|null $afterSubmit The function to call after the submit button is clicked * - * @return bool - * * @throws Exception */ public function dbQuery($query, ?Closure $onResults = null, ?Closure $afterSubmit = null): bool @@ -1033,8 +1029,6 @@ abstract class TestBase extends TestCase * @param WebDriverElement $element The element * @param int $xOffset The x offset to apply (defaults to 0) * @param int $yOffset The y offset to apply (defaults to 0) - * - * @return void */ public function scrollToElement(WebDriverElement $element, int $xOffset = 0, int $yOffset = 0): void { @@ -1046,8 +1040,6 @@ abstract class TestBase extends TestCase /** * Scroll to the bottom of page - * - * @return void */ public function scrollToBottom(): void { @@ -1058,8 +1050,6 @@ abstract class TestBase extends TestCase /** * Reload the page - * - * @return void */ public function reloadPage(): void { @@ -1125,8 +1115,6 @@ abstract class TestBase extends TestCase * * @param string $status passed or failed * @param string $message a message - * - * @return void */ private function markTestAs(string $status, string $message): void { @@ -1208,8 +1196,6 @@ abstract class TestBase extends TestCase * Mark unsuccessful tests as 'Failures' on Browerstack * * @param Throwable $t Throwable - * - * @return void */ public function onNotSuccessfulTest(Throwable $t): void { |