CashFlow   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 2
dl 0
loc 12
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getCashFlow() 0 4 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