Skip to content

Commit

Permalink
Merge pull request #86 from erickskrauch/fix_amOnPage
Browse files Browse the repository at this point in the history
Use correct type declaration for amOnPage method
  • Loading branch information
SamMousa committed May 16, 2023
2 parents 86b958c + 1097550 commit 07db4a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Codeception/Module/Yii2.php
Expand Up @@ -704,7 +704,7 @@ public function amOnRoute(string $route, array $params = []): void
* $I->amOnPage('/register');
* ```
*
* @param string|array $page the URI or route in array format
* @param string $page the page URI
*/
public function amOnPage(string $page): void
{
Expand Down

0 comments on commit 07db4a4

Please sign in to comment.