File tree 2 files changed +2
-2
lines changed
src/Codeception/Lib/Connector
tests/unit/Codeception/Module
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -156,7 +156,7 @@ protected function createResponse(Psr7Response $psr7Response): BrowserKitRespons
156
156
return new BrowserKitResponse ($ body , $ status , $ headers );
157
157
}
158
158
159
- protected function getAbsoluteUri ($ uri )
159
+ protected function getAbsoluteUri (string $ uri ): string
160
160
{
161
161
$ baseUri = $ this ->client ->getConfig ('base_uri ' );
162
162
if (strpos ($ uri , ':// ' ) === false && strpos ($ uri , '// ' ) !== 0 ) {
Original file line number Diff line number Diff line change @@ -1212,7 +1212,7 @@ public function testClickLinkWithInnerSpan()
1212
1212
public function testSelectTwoSubmitsByText ()
1213
1213
{
1214
1214
$ this ->module ->amOnPage ('/form/select_two_submits ' );
1215
- $ this ->module ->selectOption ('What kind of sandwich would you like? ' , 2 );
1215
+ $ this ->module ->selectOption ('What kind of sandwich would you like? ' , ' 2 ' );
1216
1216
$ this ->module ->click ('Save ' );
1217
1217
1218
1218
$ form = data::get ('form ' );
You can’t perform that action at this time.
0 commit comments