Skip to content

Commit 07db4a4

Browse files
authored
Merge pull request #86 from erickskrauch/fix_amOnPage
Use correct type declaration for amOnPage method
2 parents 86b958c + 1097550 commit 07db4a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ public function amOnRoute(string $route, array $params = []): void
704704
* $I->amOnPage('/register');
705705
* ```
706706
*
707-
* @param string|array $page the URI or route in array format
707+
* @param string $page the page URI
708708
*/
709709
public function amOnPage(string $page): void
710710
{

0 commit comments

Comments
 (0)