Completed
Push — master ( 8f8ae8...f1885b )
by Konstantin
14s
created

ReadUserBaseInfoQuery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 23
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 23
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getExceptionHandler() 0 3 1
1
<?php
2
3
namespace linkprofit\Tracker\request;
4
5
use linkprofit\Tracker\exception\ReadUserBaseInfoExceptionHandler;
6
7
class ReadUserBaseInfoQuery extends BaseRoute
8
{
9
    /**
10
     * @var string|null
11
     */
12
    protected $userUrl = '/cabinet/user/read/base';
13
14
    /**
15
     * @var string|null
16
     */
17
    protected $adminUrl;
18
19
    /**
20
     * @var string
21
     */
22
    protected $method = 'PUT';
23
24
    /**
25
     * @return ReadUserBaseInfoExceptionHandler
26
     */
27 1
    public function getExceptionHandler()
28
    {
29 1
        return new ReadUserBaseInfoExceptionHandler();
30
    }
31
}
32