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

Request::getMethod()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 0
nc 1
nop 0
dl 0
loc 2
rs 10
c 0
b 0
f 0
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