CashFlow::getCashFlow()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Fenerum\API;
6
7
class CashFlow extends Base
8
{
9
    /**
10
     * @param string $month (MM-YYYY)
11
     * @return array|null
12
     * @throws \Fenerum\API\Exceptions\FenerumApiException
13
     */
14
    public function getCashFlow(string $month): ?array
15
    {
16
        return $this->client->get('cash-flow/'.$month.'/');
17
    }
18
}
19