Skip to content

Commit

Permalink
Merge pull request #3072 from yajra/analysis-7WYnJZ
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
yajra authored Sep 29, 2023
2 parents 39923f8 + 2bff062 commit 50c137a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/Utilities/Helper.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,11 @@ public static function compileContent($content, array $data, array|object $param

return $content($param);
}


if (is_array($content)) {
[$view, $viewData] = $content;

return static::compileBlade($view, static::getMixedValue($data, $param) + $viewData);
return static::compileBlade($view, static::getMixedValue($data, $param) + $viewData);
}

return $content;
Expand Down

0 comments on commit 50c137a

Please sign in to comment.