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