Total Complexity | 3 |
Total Lines | 20 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
19 | class Description extends AbstractBlock implements TightBlockInterface |
||
20 | { |
||
21 | /** @var bool */ |
||
22 | private $tight; |
||
23 | |||
24 | 42 | public function __construct(bool $tight = false) |
|
25 | { |
||
26 | 42 | parent::__construct(); |
|
27 | |||
28 | 42 | $this->tight = $tight; |
|
29 | 42 | } |
|
30 | |||
31 | 36 | public function isTight(): bool |
|
34 | } |
||
35 | |||
36 | 3 | public function setTight(bool $tight): void |
|
41 |