Answer   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getBody() 0 3 1
1
<?php
2
3
namespace kalanis\RemoteRequestPsr\Http;
4
5
6
use kalanis\RemoteRequest\Protocols;
7
8
9
/**
10
 * Class Answer
11
 * @package kalanis\RemoteRequestPsr\Http
12
 */
13
class Answer extends Protocols\Http\Answer
14
{
15
    /**
16
     * @return resource|string|null
17
     */
18 13
    public function getBody()
19
    {
20 13
        return $this->body;
21
    }
22
}
23