mirror of
https://github.com/php/php-src.git
synced 2024-11-23 09:54:15 +08:00
Fix gen_stub.php errors (#14335)
This commit is contained in:
parent
35e62e9b59
commit
583ac15cd6
@ -990,7 +990,7 @@ class PropertyName {
|
||||
$this->property = $property;
|
||||
}
|
||||
|
||||
public function __toString()
|
||||
public function __toString(): string
|
||||
{
|
||||
return $this->class->toString() . "::$" . $this->property;
|
||||
}
|
||||
@ -1624,7 +1624,7 @@ class EvaluatedValue
|
||||
return null;
|
||||
}
|
||||
|
||||
throw new Exception("Constant " . $originatingConstName->__toString() . " cannot be found");
|
||||
throw new Exception("Constant " . $constName . " cannot be found");
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user