Skip to content

Commit

Permalink
Fix styling
Browse files Browse the repository at this point in the history
  • Loading branch information
pascalbaljet authored and github-actions[bot] committed Sep 14, 2022
1 parent bd52f4c commit 3cff294
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/BladeDirectives.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public static function parseTableCellDirectiveExpression($expression): array
$slotArguments = trim($splitted[0] ?? '');
$slotUses = trim(ltrim($splitted[1] ?? '', '['));

$slotUses = $slotUses ? "\$__env, {$slotUses}" : "\$__env";
$slotUses = $slotUses ? "\$__env, {$slotUses}" : '$__env';

$function = "function ({$slotArguments})";
$function .= " use ({$slotUses})";
Expand Down

0 comments on commit 3cff294

Please sign in to comment.