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 | * @suppress PhanEmptyPublicMethod |
12 | */ |
13 | public function __construct() { |
14 | } |
15 | |
16 | /** |
17 | * @inheritDoc |
18 | */ |
19 | public function jsonSerialize(): array { |
20 | return [ |
21 | 'type' => $this->getType() |
22 | ]; |
23 | } |
24 | } |