Total Complexity | 7 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | class WhiteSpaceNode extends TextNode |
||
17 | { |
||
18 | /** |
||
19 | * @param TagNode|null $parent |
||
20 | * @param string $s |
||
21 | * @param Node|null $like |
||
22 | */ |
||
23 | 14 | public function __construct(?TagNode $parent, string $s, ?Node $like) |
|
31 | } |
||
32 | 14 | } |
|
33 | |||
34 | /** |
||
35 | * @param string $c |
||
36 | * @return bool |
||
37 | */ |
||
38 | 23 | public static function isWhiteSpace(string $c): bool |
|
51 |