RequestCommonsTrait::getApiPath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
rs 10
c 1
b 1
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ticketpark\SaferpayJson\Request;
6
7
trait RequestCommonsTrait
8
{
9
    public function getApiPath(): string
10
    {
11
        return self::API_PATH;
0 ignored issues
show
Bug introduced by
The constant Ticketpark\SaferpayJson\...tCommonsTrait::API_PATH was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
12
    }
13
14
    public function getResponseClass(): string
15
    {
16
        return self::RESPONSE_CLASS;
0 ignored issues
show
Bug introduced by
The constant Ticketpark\SaferpayJson\...nsTrait::RESPONSE_CLASS was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
17
    }
18
}
19