Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | |
0.00% |
0 / 4 |
|
0.00% |
0 / 2 |
CRAP | |
0.00% |
0 / 1 |
EOFTk | |
0.00% |
0 / 4 |
|
0.00% |
0 / 2 |
6 | |
0.00% |
0 / 1 |
__construct | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |||
jsonSerialize | |
0.00% |
0 / 3 |
|
0.00% |
0 / 1 |
2 |
1 | <?php |
2 | declare( strict_types = 1 ); |
3 | |
4 | namespace Wikimedia\Parsoid\Tokens; |
5 | |
6 | /** |
7 | * Represents EOF |
8 | */ |
9 | class EOFTk extends Token { |
10 | |
11 | public function __construct() { |
12 | parent::__construct( null, null ); |
13 | } |
14 | |
15 | /** |
16 | * @inheritDoc |
17 | */ |
18 | public function jsonSerialize(): array { |
19 | return [ |
20 | 'type' => $this->getType() |
21 | ]; |
22 | } |
23 | } |