Passed
Pull Request — master (#38)
by kenny
01:52
created

Request   A

Complexity

Total Complexity 6

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 27
rs 10
c 0
b 0
f 0
wmc 6

6 Methods

Rating   Name   Duplication   Size   Complexity  
A getRequestTarget() 0 2 1
A withUri() 0 4 1
A withRequestTarget() 0 2 1
A getMethod() 0 2 1
A withMethod() 0 2 1
A getUri() 0 2 1
1
<?php
2
3
namespace One\Psr7;
4
5
use One\Psr7\Message;
6
7
class Request implements \Psr\Http\Message\RequestInterface
8
{
9
    private $requestTarget;
0 ignored issues
show
introduced by
The private property $requestTarget is not used, and could be removed.
Loading history...
10
11
    private $method;
0 ignored issues
show
introduced by
The private property $method is not used, and could be removed.
Loading history...
12
13
    private $uri;
0 ignored issues
show
introduced by
The private property $uri is not used, and could be removed.
Loading history...
14
    
15
    public function getRequestTarget()
16
    {
17
    }
18
    public function withRequestTarget($requestTarget)
19
    {
20
    }
21
    public function getMethod()
22
    {
23
    }
24
    public function withMethod($method)
25
    {
26
    }
27
    public function getUri()
28
    {
29
    }
30
    public function withUri(
31
        \Psr\Http\Message\UriInterface $uri,
32
        $preserveHost = false
33
    ) {
34
    }
35
}
36