RequestCommonsTrait   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
eloc 3
dl 0
loc 10
rs 10
c 1
b 1
f 0
wmc 2

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getApiPath() 0 3 1
A getResponseClass() 0 3 1
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