Visa   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 16
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A all() 0 7 1
1
<?php
2
3
namespace Uon\Endpoints;
4
5
use Uon\Client;
6
7
class Visa extends Client
8
{
9
    /**
10
     * Get list of visa statuses
11
     *
12
     * @link https://api.u-on.ru/{key}/visa.{_format}
13
     *
14
     * @return null|object|\Uon\Interfaces\ClientInterface
15
     */
16
    public function all()
17
    {
18
        // Set HTTP params
19
        $this->type     = 'get';
20
        $this->endpoint = 'visa';
21
22
        return $this->done();
23
    }
24
}
25