Skip to content

Commit e2661a4

Browse files
committed
Use correct type declaration for amOnPage method
1 parent 86b958c commit e2661a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Module/Yii2.php

Lines changed: 1 addition & 1 deletion
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 URI or route in array format
708708
*/
709709
public function amOnPage(string $page): void
710710
{

0 commit comments

Comments
 (0)