Skip to content

Commit 8f74843

Browse files
author
JLTRY
committed
correct phpstan
1 parent 08b8a9e commit 8f74843

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Client.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,12 @@ public function __construct($options = [], ?Http $http = null, ?Input $input = n
8282
/**
8383
* Tests if given response contains JSON header
8484
*
85-
* @param Response $response The response object
85+
* @param Joomla\Http\Response $response The response object
8686
*
8787
* @return boolean
8888
*
8989
*/
90-
private static function isJsonResponse($response)
90+
private static function isJsonResponse(\Joomla\Http\Response $response)
9191
{
9292
foreach (['Content-Type', 'content-type'] as $type) {
9393
if (array_key_exists($type, $response->headers)) {

0 commit comments

Comments
 (0)