Skip to content

Commit

Permalink
Add throws PHPDoc to constant()
Browse files Browse the repository at this point in the history
  • Loading branch information
herndlm committed Jul 3, 2023
1 parent e2e898a commit d2224d6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions standard/standard_0.php
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ public function read(#[PhpStormStubsElementAvailable(from: '5.3', to: '7.4')] $d
* </p>
* @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 {}
Expand Down

0 comments on commit d2224d6

Please sign in to comment.