| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class Description extends AbstractBlock implements TightBlockInterface |
||
| 20 | { |
||
| 21 | private bool $tight; |
||
| 22 | |||
| 23 | 28 | public function __construct(bool $tight = false) |
|
| 24 | { |
||
| 25 | 28 | parent::__construct(); |
|
| 26 | |||
| 27 | 28 | $this->tight = $tight; |
|
| 28 | } |
||
| 29 | |||
| 30 | 24 | public function isTight(): bool |
|
| 31 | { |
||
| 32 | 24 | return $this->tight; |
|
| 33 | } |
||
| 34 | |||
| 35 | 2 | public function setTight(bool $tight): void |
|
| 38 | } |
||
| 39 | } |
||
| 40 |