Completed
Push — master ( bd4ff0...d83768 )
by Fabian
03:55
created

ServerTimeRequest::getResponseClassName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace HanischIt\KrakenApi\Model\ServerTime;
4
5
use HanischIt\KrakenApi\Enum\VisibilityEnum;
6
use HanischIt\KrakenApi\Model\RequestInterface;
7
8
/**
9
 * Class ServerTimeRequest
10
 *
11
 * @package HanischIt\KrakenApi\Model\ServerTime
12
 */
13
class ServerTimeRequest implements RequestInterface
14
{
15
16
    /**
17
     * Returns the api request name
18
     *
19
     * @return string
20
     */
21
    public function getMethod()
22
    {
23
        return 'Time';
24
    }
25
26
    /**
27
     * @return string
28
     */
29
    public function getVisibility()
30
    {
31
        return VisibilityEnum::VISIBILITY_PUBLIC;
32
    }
33
34
    /**
35
     * @return array
36
     */
37
    public function getRequestData()
38
    {
39
        return [];
40
    }
41
42
    /**
43
     * @return string
44
     */
45
    public function getResponseClassName()
46
    {
47
        return TradableAssetPairsResponse::class;
0 ignored issues
show
Bug introduced by
The type HanischIt\KrakenApi\Mode...dableAssetPairsResponse 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...
48
    }
49
}
50