diff --git a/src/Illuminate/View/Component.php b/src/Illuminate/View/Component.php index 219ecd51d496..733bfe4fa519 100644 --- a/src/Illuminate/View/Component.php +++ b/src/Illuminate/View/Component.php @@ -94,7 +94,7 @@ public static function ignoredParameterNames(): array static::class ))->getConstructor(); - if (!$constructor) { + if (! $constructor) { static::$ignoredParameterNames[static::class] = []; }