From 6f67d4dbe5bc7555fa231e8666869849d0e02b25 Mon Sep 17 00:00:00 2001 From: Bao NGUYEN <lazzyvn@yahoo.com> Date: Tue, 4 Feb 2025 15:44:13 +0100 Subject: [PATCH] fixed phpstan --- src/Hook/InputPatternHook.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Hook/InputPatternHook.php b/src/Hook/InputPatternHook.php index 02a3587..84fd3b6 100644 --- a/src/Hook/InputPatternHook.php +++ b/src/Hook/InputPatternHook.php @@ -9,6 +9,7 @@ use Drupal\Core\Hook\Attribute\Hook; use Drupal\Core\Routing\RouteMatchInterface; use Drupal\Core\StringTranslation\StringTranslationTrait; use Drupal\filter\FilterPluginManager; +use Symfony\Component\DependencyInjection\ContainerInterface; /** * Hook implementations for Input Pattern Hook. @@ -30,7 +31,7 @@ class InputPatternHook { public function __construct( protected ModuleHandlerInterface $moduleHandler, protected ConfigFactoryInterface $configFactory, - protected ?FilterPluginManager $filterPluginManager = NULL + protected ?FilterPluginManager $filterPluginManager = NULL, ) { } -- GitLab