Debian Codegraph @

vendor/wikimedia/parsoid/src/Tokens/EOFTk.php

raw
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 }