File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/Codeception/Lib/Connector
tests/unit/Codeception/Module Expand file tree Collapse file tree 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
156156 return new BrowserKitResponse ($ body , $ status , $ headers );
157157 }
158158
159- protected function getAbsoluteUri ($ uri )
159+ protected function getAbsoluteUri (string $ uri ): string
160160 {
161161 $ baseUri = $ this ->client ->getConfig ('base_uri ' );
162162 if (strpos ($ uri , ':// ' ) === false && strpos ($ uri , '// ' ) !== 0 ) {
Original file line number Diff line number Diff line change @@ -1212,7 +1212,7 @@ public function testClickLinkWithInnerSpan()
12121212 public function testSelectTwoSubmitsByText ()
12131213 {
12141214 $ 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 ' );
12161216 $ this ->module ->click ('Save ' );
12171217
12181218 $ form = data::get ('form ' );
You can’t perform that action at this time.
0 commit comments