Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 03710c8

Browse files
authored
Added more PHP7 type hints. (#689)
* Adding type hints * Added more type hints * Added PHP7 type hints * style fixes * Added type hints
1 parent 25a89b7 commit 03710c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Provider/AbstractHttpProvider.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ public function __construct(HttpClient $client, MessageFactory $factory = null)
5555
*
5656
* @throws InvalidServerResponse
5757
*/
58-
protected function getUrlContents($url): string
58+
protected function getUrlContents(string $url): string
5959
{
6060
$request = $this->getMessageFactory()->createRequest('GET', $url);
6161
$response = $this->getHttpClient()->sendRequest($request);

0 commit comments

Comments
 (0)