Skip to content

Commit 14a4f10

Browse files
Make 3rd argument in doRequest optional
1 parent ca574a5 commit 14a4f10

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestingBot/TestingBotAPI.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public function deleteStorageFile($appUrl)
218218
return $this->_doRequest("storage/" . str_replace("tb://", "", $appUrl), "DELETE");
219219
}
220220

221-
private function _doRequest($path, $method = 'POST', $data)
221+
private function _doRequest($path, $method = 'POST', $data = array())
222222
{
223223
$curl = curl_init();
224224
curl_setopt($curl, CURLOPT_URL, "https://api.testingbot.com/v1/" . $path);

0 commit comments

Comments
 (0)