From 7318eb5b6e84cc83ba8d73f5d546d65b22b4e1f2 Mon Sep 17 00:00:00 2001 From: mpdude Date: Wed, 4 Sep 2024 08:30:43 +0000 Subject: [PATCH] Fix CS with PHP-CS-Fixer --- tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php b/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php index cad3925..845e8f9 100644 --- a/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php +++ b/tests/DependencyInjection/Compiler/ShortcodeCompilerPassTest.php @@ -51,6 +51,7 @@ public function tagged_services_are_added_as_handlers_to_handler_container(): vo ->with('add', $this->callback(function (array $argument) { static $count = 0; ++$count; + return 'shortcode'.$count === $argument[0] && $argument[1] instanceof Reference; }));