Conditions | 2 |
Paths | 2 |
Total Lines | 4 |
Code Lines | 2 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
43 | 1 | protected function failureDescription($other): string |
|
44 | { |
||
45 | 1 | $contentType = $other instanceof ResponseInterface ? $other->getHeaderLine('Content-Type') : (string) $other; |
|
46 | 1 | return 'a HTTP Response with Content-Type \'' . $contentType . '\' ' . $this->toString(); |
|
47 | } |
||
49 |