1 | <?php |
||
2 | |||
3 | namespace Digikraaft\Flutterwave; |
||
4 | |||
5 | class Wallet extends ApiResource |
||
6 | { |
||
7 | const OBJECT_NAME = 'balances'; |
||
8 | |||
9 | use ApiOperations\All; |
||
10 | use ApiOperations\Create; |
||
11 | |||
12 | /** |
||
13 | * @param string $currency |
||
14 | * @return array|object |
||
15 | * @link https://developer.flutterwave.com/reference#get-balances-per-currency |
||
16 | */ |
||
17 | public static function balanceByCurrency(string $currency) |
||
0 ignored issues
–
show
|
|||
18 | { |
||
19 | $url = static::endPointUrl("{currency}"); |
||
20 | |||
21 | return static::staticRequest('DELETE', $url); |
||
22 | } |
||
23 | } |
||
24 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.