Skip to content

Commit bbe42b2

Browse files
authored
Correct the type of CommunicationProvider's $responseBody property
To avoid warnings in the code, the `$responseBody` property should be an *object* and not a *string*. This is because it is set in `->callRestAPI()` with a `json_decode()`, which returns an object.
1 parent 32f5708 commit bbe42b2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Supporting/CommunicationProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ class CommunicationProvider
120120
*/
121121
public $returnedCount = 0;
122122
/**
123-
* @var string
123+
* @var object
124124
* @ignore
125125
*/
126126
public $responseBody;
@@ -893,4 +893,4 @@ private function _json_urlencode($value)
893893

894894
return $str;
895895
}
896-
}
896+
}

0 commit comments

Comments
 (0)