Skip to content

Commit

Permalink
feat: mark absurd() as internal (#260)
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod authored May 13, 2024
1 parent 91a08f8 commit 56be351
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@

use RuntimeException;

/** @phpstan-return never */
/**
* @internal
*
* @phpstan-return never
*/
function absurd(): never
{
throw new RuntimeException('Called `absurd` function which should never be called');
Expand Down

0 comments on commit 56be351

Please sign in to comment.