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.

SmsaManager   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 35
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 6

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
dl 0
loc 35
ccs 6
cts 6
cp 1
rs 10
c 0
b 0
f 0
wmc 2
lcom 0
cbo 6

1 Method

Rating   Name   Duplication   Size   Complexity  
A __call() 0 9 2
1
<?php
2
3
namespace SmsaSDK;
4
5
use SmsaSDK\Concerns\Configurable;
6
use SmsaSDK\Concerns\ControlWsdl;
7
use SmsaSDK\Concerns\MapMethods;
8
use SmsaSDK\Concerns\PrepareClient;
9
use SmsaSDK\Concerns\UsesReflection;
10
use SmsaSDK\Concerns\ValidateData;
11
12
/**
13
 * SmsaManager.
14
 */
15
class SmsaManager
16
{
17
    private $uri;
0 ignored issues
show
Unused Code introduced by
The property $uri is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
18
    private $wsdlFilePath;
0 ignored issues
show
Unused Code introduced by
The property $wsdlFilePath is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
19
    private $passkey;
0 ignored issues
show
Unused Code introduced by
The property $passkey is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
20
    private $client;
0 ignored issues
show
Unused Code introduced by
The property $client is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
21
    private $nullValues = null;
0 ignored issues
show
Unused Code introduced by
The property $nullValues is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
22
    private $reflection;
0 ignored issues
show
Unused Code introduced by
The property $reflection is not used and could be removed.

This check marks private properties in classes that are never used. Those properties can be removed.

Loading history...
23
24
    use MapMethods;
25
    use ControlWsdl;
26
    use ValidateData;
27
    use Configurable;
28
    use PrepareClient;
29
    use UsesReflection;
30
31
    /**
32
     * __call
33
     * Insert description here.
34
     *
35
     * @param $method
36
     * @param $arguments
37
     *
38
     * @return
39
     */
40 6
    public function __call($method, $arguments)
41
    {
42 6
        $this->setUp();
43 6
        $class = __NAMESPACE__.'\\Methods\\'.$method;
44 6
        $arguments = empty($arguments) ? [] : $arguments[0];
45 6
        $methodHandler = $this->prepareMethodHandler($arguments, $class);
46
47 3
        return $this->client()->$method($methodHandler);
48
    }
49
}
50