Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
19 | 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 | /** |
||
26 | * @var int |
||
27 | * |
||
28 | * @psalm-readonly |
||
29 | */ |
||
30 | protected $type; |
||
31 | |||
32 | 336 | public function __construct(int $breakType = self::HARDBREAK) |
|
37 | 336 | } |
|
38 | |||
39 | 327 | public function getType(): int |
|
44 |