Passed
Push — master ( 59622b...014342 )
by Andrey
03:48
created

LoyaltyUser   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 6
c 1
b 0
f 0
dl 0
loc 17
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getLoyaltyInfoByApiKey() 0 5 1
1
<?php
2
3
namespace Daaner\NovaPoshta\Models;
4
5
use Daaner\NovaPoshta\NovaPoshta;
6
7
class LoyaltyUser extends NovaPoshta
8
{
9
10
    protected $model = 'LoyaltyUser';
11
    protected $calledMethod;
12
    protected $methodProperties = null;
13
14
    /**
15
     * Не документировано
16
     *
17
     * @return array
18
     */
19
    public function getLoyaltyInfoByApiKey()
20
    {
21
        $this->calledMethod = 'getLoyaltyInfoByApiKey';
22
23
        return $this->getResponse($this->model, $this->calledMethod, $this->methodProperties, true);
24
    }
25
26
}
27