mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix gen_stub.php errors (#14335)
This commit is contained in:
parent
329f015c91
commit
be19e7954d
1 changed files with 2 additions and 2 deletions
|
@ -1010,7 +1010,7 @@ class PropertyName implements VariableLikeName {
|
||||||
$this->property = $property;
|
$this->property = $property;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __toString()
|
public function __toString(): string
|
||||||
{
|
{
|
||||||
return $this->class->toString() . "::$" . $this->property;
|
return $this->class->toString() . "::$" . $this->property;
|
||||||
}
|
}
|
||||||
|
@ -2248,7 +2248,7 @@ class EvaluatedValue
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new Exception("Constant " . $originatingConstName->__toString() . " cannot be found");
|
throw new Exception("Constant " . $constName . " cannot be found");
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue