From db1a41628066cd180e9db3e6dc8713002fd49567 Mon Sep 17 00:00:00 2001 From: Peter Jaap Blaakmeer Date: Tue, 1 Apr 2025 14:11:27 +0200 Subject: [PATCH] Make $handleName nullable in afterAddHandle plugin --- Plugin/RemoveHandlersPlugin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Plugin/RemoveHandlersPlugin.php b/Plugin/RemoveHandlersPlugin.php index 8b7ba02..bc07346 100644 --- a/Plugin/RemoveHandlersPlugin.php +++ b/Plugin/RemoveHandlersPlugin.php @@ -24,7 +24,7 @@ public function __construct( public function afterAddHandle( ProcessorInterface $subject, ProcessorInterface $result, - array|string $handleName + array|string|null $handleName ): ProcessorInterface { if (!$this->config->isModuleEnabled()) { return $result;