From 29078e558e3a40c1ea4447047124033b9b4d27c3 Mon Sep 17 00:00:00 2001 From: Soner Sayakci Date: Tue, 3 Nov 2026 07:32:00 +0100 Subject: [PATCH] fix: correct PHPStan condition callback type --- src/Rule/Condition.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Rule/Condition.php b/src/Rule/Condition.php index 6acb2ee6..f10a2813 100644 --- a/src/Rule/Condition.php +++ b/src/Rule/Condition.php @@ -8,11 +8,12 @@ class Condition { /** - * @var callable + * @var callable(Context): bool */ private $condition; /** + * @param callable(Context): bool $condition * @param callable[] $rules */ public function __construct(callable $condition, private array $rules)