From 8a856e65bf103d17f04b23d3cb3ccf3462914c0d Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Mon, 13 May 2024 11:45:10 +0200 Subject: [PATCH] feat: mark `absurd()` as internal --- src/functions.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/functions.php b/src/functions.php index eaecd50..7205191 100644 --- a/src/functions.php +++ b/src/functions.php @@ -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');