Skip to content

Commit

Permalink
static
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed May 15, 2022
1 parent 1cdfe02 commit 2aef98b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/PhpParser/Node/Scalar/String_.php
Expand Up @@ -42,7 +42,7 @@ public function getSubNodeNames() : array {
return ['value'];
}

public function fromString(string $str, array $attributes = [], bool $parseUnicodeEscape = true): self
public static function fromString(string $str, array $attributes = [], bool $parseUnicodeEscape = true): self
{
$attributes['rawValue'] = $str;
$string = self::parse($str, $parseUnicodeEscape);
Expand Down

0 comments on commit 2aef98b

Please sign in to comment.