Skip to content

Commit

Permalink
Revert changes in ConvertsArrayToFrontMatter.php
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 26, 2022
1 parent 78e44e9 commit e32f65c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ class ConvertsArrayToFrontMatter
*
* @return string $yaml front matter
*/
public function execute(array $array, int $flags = 0): string
public function execute(array $array): string
{
if (empty($array)) {
return '';
}

return "---\n".Yaml::dump($array, flags: $flags)."---\n";
return "---\n".Yaml::dump($array)."---\n";
}
}

0 comments on commit e32f65c

Please sign in to comment.