diff --git a/standard/standard_0.php b/standard/standard_0.php index 62c05f4cb..df3fa0ec1 100644 --- a/standard/standard_0.php +++ b/standard/standard_0.php @@ -158,6 +158,7 @@ public function read(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $d *

* @return mixed the value of the constant, or null if the constant is not * defined. + * @throws Error If the constant is not defined */ #[Pure(true)] function constant(string $name): mixed {}