Conditions | 4 |
Paths | 1 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
21 | 8 | public function createResponse(): Objects\Response |
|
22 | { |
||
23 | 8 | return new Objects\Response( |
|
24 | 8 | $this->getDescription(), |
|
25 | 8 | $this->getHeaders() ? $this->getHeaders()->createHeaders() : null, |
|
26 | 8 | $this->getContent() ? $this->getContent()->createMediaTypes() : null, |
|
27 | 8 | $this->getLinks() ? $this->getLinks()->createLinks() : null, |
|
28 | 8 | $this->getExtensions() |
|
29 | ); |
||
30 | } |
||
31 | |||
85 |