mirror of
https://github.com/kristuff/abuseipdb
synced 2025-08-20 21:43:13 -07:00
v0.9.6
**Fixed** - clear method is broken in 0.9.5.
This commit is contained in:
parent
ed9e4bd8fb
commit
1a882c0155
4 changed files with 7 additions and 7 deletions
|
@ -34,7 +34,7 @@ Deploy with composer:
|
|||
```json
|
||||
...
|
||||
"require": {
|
||||
"kristuff/abuseipdb": ">=0.9.5-stable"
|
||||
"kristuff/abuseipdb": ">=0.9.6-stable"
|
||||
},
|
||||
```
|
||||
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue