From 5e60e4623947b16d3c3de9c287196208eff41449 Mon Sep 17 00:00:00 2001 From: Christopher Pitt Date: Mon, 22 Apr 2024 16:08:20 +0200 Subject: [PATCH] WIP --- src/Illuminate/View/Component.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/View/Component.php b/src/Illuminate/View/Component.php index 733bfe4fa519..78fbed08f725 100644 --- a/src/Illuminate/View/Component.php +++ b/src/Illuminate/View/Component.php @@ -95,7 +95,7 @@ public static function ignoredParameterNames(): array ))->getConstructor(); if (! $constructor) { - static::$ignoredParameterNames[static::class] = []; + return static::$ignoredParameterNames[static::class] = []; } static::$ignoredParameterNames[static::class] = collect($constructor->getParameters())