Completed
Pull Request — master (#1)
by Akihito
01:08
created

HttpRequestRayProvider   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A get() 0 4 1
1
<?php
2
namespace Ray\HttpMessage;
3
4
use Nyholm\Psr7\Factory\Psr17Factory;
5
use Nyholm\Psr7Server\ServerRequestCreator;
6
use Psr\Http\Message\ServerRequestInterface;
7
use Ray\Di\ProviderInterface;
8
9
final class HttpRequestRayProvider implements ProviderInterface
10
{
11
    /**
12
     * {@inheritdoc}
13
     */
14 1
    public function get()
15
    {
16 1
        return (new HttpRequestProvider)->get();
17
    }
18
}
19