Test Failed
Pull Request — develop (#4)
by Stephen
06:10
created

UserRoleGetResponse   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 6
dl 0
loc 26
rs 10
c 0
b 0
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getReturn() 0 3 1
A withReturn() 0 6 1
1
<?php
2
3
namespace Spinen\Ncentral\Type;
4
5
6
use Phpro\SoapClient\Type\ResultInterface;
7
8
class UserRoleGetResponse implements ResultInterface
9
{
10
11
    /**
12
     * @var \Spinen\Ncentral\Type\EiKeyValuesList
0 ignored issues
show
Bug introduced by
The type Spinen\Ncentral\Type\EiKeyValuesList was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
13
     */
14
    private $return;
15
16
    /**
17
     * @return \Spinen\Ncentral\Type\EiKeyValuesList
18
     */
19
    public function getReturn()
20
    {
21
        return $this->return;
22
    }
23
24
    /**
25
     * @param \Spinen\Ncentral\Type\EiKeyValuesList $return
26
     * @return UserRoleGetResponse
27
     */
28
    public function withReturn($return)
29
    {
30
        $new = clone $this;
31
        $new->return = $return;
32
33
        return $new;
34
    }
35
36
37
}
38
39