From c9b23d95817587272b144dbd5689d87f9b715da8 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 4 Aug 2022 19:42:08 +0000 Subject: [PATCH] Apply fixes from StyleCI --- src/Illuminate/View/Compilers/ComponentTagCompiler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/View/Compilers/ComponentTagCompiler.php b/src/Illuminate/View/Compilers/ComponentTagCompiler.php index 799375096eeb..080456818810 100644 --- a/src/Illuminate/View/Compilers/ComponentTagCompiler.php +++ b/src/Illuminate/View/Compilers/ComponentTagCompiler.php @@ -574,7 +574,7 @@ protected function parseAttributeBag(string $attributeString) */ protected function parseComponentTagClassStatements(string $attributeString) { - return preg_replace_callback( + return preg_replace_callback( '/@(class)(\( ( (?>[^()]+) | (?2) )* \))/x', function ($match) { if ($match[1] === 'class') { $match[2] = str_replace('"', "'", $match[2]);