Skip to content

Commit 5a6832d

Browse files
authored
Merge pull request #5 from macbookandrew/bugfix/api-call-params
fix API call arguments
2 parents 8da0342 + 62dfb05 commit 5a6832d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bunnyAPI.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,11 +104,11 @@ protected function constApiKeySet()
104104
* cURL execution with headers and parameters
105105
* @param string $method
106106
* @param string $url
107-
* @param boolean $params
107+
* @param string|boolean $params
108108
* @return string
109109
* @throws Exception
110110
*/
111-
private function APIcall(string $method, string $url, bool $params = false)
111+
private function APIcall(string $method, string $url, $params = false)
112112
{
113113

114114
if (is_null($this->api_key) && !$this->constApiKeySet()) {

0 commit comments

Comments
 (0)