GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

Account::getAvailableBalance()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace IndependentReserve\Object;
4
5
class Account extends AbstractObject
6
{
7
    /**
8
     * Unique identifier of account.
9
     * @return string
10
     */
11 2
    public function getGuid()
12
    {
13 2
        return $this->object->AccountGuid;
14
    }
15
16
    /**
17
     * Status of account.
18
     * @return string
19
     * @see \IndependentReserve\AccountStatus
20
     */
21 1
    public function getStatus()
22
    {
23 1
        return $this->object->AccountStatus;
24
    }
25
26
    /**
27
     * Available balance in account to trade or withdraw.
28
     * @return double
29
     */
30 2
    public function getAvailableBalance()
31
    {
32 2
        return $this->object->AvailableBalance;
33
    }
34
35
    /**
36
     * Currency of account.
37
     * @return string
38
     * @see \IndependentReserve\Currency
39
     */
40 2
    public function getCurrencyCode()
41
    {
42 2
        return $this->object->CurrencyCode;
43
    }
44
45
    /**
46
     * Total balance in account.
47
     * @return double
48
     */
49 2
    public function getTotalBalance()
50
    {
51 2
        return $this->object->TotalBalance;
52
    }
53
}
54