We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 7acdeeb + 0104e35 commit 52cfb00Copy full SHA for 52cfb00
src/Token.php
@@ -35,7 +35,7 @@ public function getText(string $document = null) {
35
return substr($document, $this->start, $this->length - ($this->start - $this->fullStart));
36
}
37
38
- public function getFullText(string & $document) : string {
+ public function getFullText(string $document) : string {
39
return substr($document, $this->fullStart, $this->length);
40
41
@@ -76,7 +76,7 @@ public function jsonSerialize() {
76
if (!isset($GLOBALS["SHORT_TOKEN_SERIALIZE"])) {
77
$GLOBALS["SHORT_TOKEN_SERIALIZE"] = false;
78
79
-
+
80
if ($GLOBALS["SHORT_TOKEN_SERIALIZE"]) {
81
return [
82
"kind" => $kindName,
0 commit comments