Skip to content

Commit

Permalink
Update PersistentComponent.php
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet committed Mar 12, 2024
1 parent 02e727e commit a55c808
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Components/PersistentComponent.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ private function wrapSlotContents(string $name, Htmlable $html): Htmlable
* into Splade Dynamic comments, and merges them it the
* default data from the original view.
*/
public function viewData(array $originalData, HtmlString $slot, Factory $env): array
public function viewData(array $originalData, Htmlable $slot, Factory $env): array
{
$slots = Collection::make($env->getFirstSlot())->map(function (ComponentSlot $slot, $name) {
return new ComponentSlot(
Expand Down

0 comments on commit a55c808

Please sign in to comment.