| Conditions | 4 |
| Paths | 8 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 4 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | 1 | public function __construct(string $name, ?string $value = null, string $space = ' ', bool $noQuote = false) |
|
| 32 | { |
||
| 33 | 1 | $this->name = $name; |
|
| 34 | 1 | $this->value = $value; |
|
| 35 | 1 | $this->space = $space; |
|
| 36 | 1 | $this->quote = $noQuote ? '' : (null !== $value && \str_contains($value, '"') ? '\'' : '"'); |
|
| 37 | } |
||
| 48 |