From 0b9854c8ba932966f3cb1469a2d18ab9249272b9 Mon Sep 17 00:00:00 2001 From: Martin Herndl Date: Mon, 3 Jul 2023 21:02:25 +0200 Subject: [PATCH] WI-72311: Update `constant()` return type description --- standard/standard_0.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/standard/standard_0.php b/standard/standard_0.php index df3fa0ec1..de46f9761 100644 --- a/standard/standard_0.php +++ b/standard/standard_0.php @@ -156,8 +156,7 @@ public function read(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $d * @param string $name

* The constant name. *

- * @return mixed the value of the constant, or null if the constant is not - * defined. + * @return mixed the value of the constant. * @throws Error If the constant is not defined */ #[Pure(true)]