Passed
Push — master ( 923478...ed53f8 )
by Steven
01:04 queued 10s
created

FxSymbols::getFullEndpoint()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
3
namespace Digitonic\IexCloudSdk\ReferenceData;
4
5
use Digitonic\IexCloudSdk\Contracts\IEXCloud;
6
use Digitonic\IexCloudSdk\Requests\BaseGet;
7
8
class FxSymbols extends BaseGet
9
{
10
    const ENDPOINT = 'ref-data/fx/symbols';
11
12
    /**
13
     * Create constructor.
14
     *
15
     * @param  IEXCloud  $api
16
     */
17 2
    public function __construct(IEXCloud $api)
18
    {
19 2
        parent::__construct($api);
20 2
    }
21
22
    /**
23
     * @return string
24
     */
25 1
    protected function getFullEndpoint(): string
26
    {
27 1
        return self::ENDPOINT;
28
    }
29
}
30