Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
assertchris committed Apr 22, 2024
1 parent 1b13c34 commit 5e60e46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/View/Component.php
Original file line number Diff line number Diff line change
Expand Up @@ -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())
Expand Down

0 comments on commit 5e60e46

Please sign in to comment.