| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | final class Newline extends AbstractInline |
||
| 20 | { |
||
| 21 | // Any changes to these constants should be reflected in .phpstorm.meta.php |
||
| 22 | public const HARDBREAK = 0; |
||
| 23 | public const SOFTBREAK = 1; |
||
| 24 | |||
| 25 | /** @psalm-readonly */ |
||
| 26 | private int $type; |
||
| 27 | |||
| 28 | 250 | public function __construct(int $breakType = self::HARDBREAK) |
|
| 33 | } |
||
| 34 | |||
| 35 | /** @psalm-immutable */ |
||
| 36 | 244 | public function getType(): int |
|
| 41 |