diff --git a/README.md b/README.md index 4d79cd1..e30b729 100644 --- a/README.md +++ b/README.md @@ -34,7 +34,7 @@ Deploy with composer: ```json ... "require": { - "kristuff/abuseipdb": ">=0.9.5-stable" + "kristuff/abuseipdb": ">=0.9.6-stable" }, ``` diff --git a/lib/ApiDefintion.php b/lib/ApiDefintion.php index 620d8dc..66c8870 100644 --- a/lib/ApiDefintion.php +++ b/lib/ApiDefintion.php @@ -14,7 +14,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.5 + * @version 0.9.6 * @copyright 2020-2021 Kristuff */ diff --git a/lib/ApiHandler.php b/lib/ApiHandler.php index 71465ff..8af252e 100644 --- a/lib/ApiHandler.php +++ b/lib/ApiHandler.php @@ -14,7 +14,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.5 + * @version 0.9.6 * @copyright 2020-2021 Kristuff */ @@ -274,7 +274,7 @@ class ApiHandler extends ApiDefintion 'ipAddress' => $ip, ]; - $response = $this->apiRequest('check', $data, 'DELETE', $returnArray) ; + $response = $this->apiRequest('clear-address', $data, 'DELETE', $returnArray) ; return json_decode($response, $returnArray); } @@ -327,7 +327,7 @@ class ApiHandler extends ApiDefintion * @param bool $plainText True to get the response in plain text list. Default is false * @param bool $returnArray True to return an indexed array instead of object (when $plainText is set to false). Default is false. * - * @return object|array + * @return object|array|string * @throws \InvalidArgumentException When maxAge is not a numeric value, when maxAge is less than 1 or * greater than 365, or when ip value was not set. */ @@ -501,7 +501,7 @@ class ApiHandler extends ApiDefintion * @access public * @static * @param string $filePath The file's full path - * @param bool $trowError Throw error on true or silent process. Default is true + * @param bool $throwError Throw error on true or silent process. Default is true * * @return object|null * @throws \Exception diff --git a/lib/InvalidPermissionException.php b/lib/InvalidPermissionException.php index 821731f..f87ad24 100644 --- a/lib/InvalidPermissionException.php +++ b/lib/InvalidPermissionException.php @@ -14,7 +14,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. * - * @version 0.9.5 + * @version 0.9.6 * @copyright 2020-2021 Kristuff */