Dep: update
주로 PHAN
This commit is contained in:
@@ -6,11 +6,14 @@
|
||||
|
||||
namespace Microsoft\PhpParser;
|
||||
|
||||
use ReturnTypeWillChange;
|
||||
|
||||
class MissingToken extends Token {
|
||||
public function __construct(int $kind, int $fullStart) {
|
||||
parent::__construct($kind, $fullStart, $fullStart, 0);
|
||||
}
|
||||
|
||||
#[ReturnTypeWillChange]
|
||||
public function jsonSerialize() {
|
||||
return array_merge(
|
||||
["error" => $this->getTokenKindNameFromValue(TokenKind::MissingToken)],
|
||||
|
||||
Reference in New Issue
Block a user