Skip to content

Commit abe753b

Browse files
authored
Cast uri to string (#14)
This casting was removed by modernization PR #12 It is necessary to fix Codeception 5 build.
1 parent e66eec9 commit abe753b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Codeception/Lib/Connector/Guzzle.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ protected function getAbsoluteUri($uri)
184184
}
185185
// relative url
186186
if (!$this->getHistory()->isEmpty()) {
187-
return Uri::mergeUrls($this->getHistory()->current()->getUri(), $uri);
187+
return Uri::mergeUrls((string)$this->getHistory()->current()->getUri(), $uri);
188188
}
189189
}
190190
return Uri::mergeUrls($baseUri, $uri);

0 commit comments

Comments
 (0)