Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Jul 24, 2024
1 parent c8007ba commit caf1c63
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ public static function postprocess(string $html): string
/** @var array<string, callable(array<int, string>): string> $patterns */
$patterns = [
'/<a href="hyde::route\(\'([^\']+)\'\)"/' => function (array $matches): string {
return '<a href="' . Hyde::route($matches[1]) . '"';
return '<a href="'.Hyde::route($matches[1]).'"';
},
'/<a href="hyde::relativeLink\(\'([^\']+)\'\)"/' => function (array $matches): string {
return '<a href="' . Hyde::relativeLink($matches[1]) . '"';
return '<a href="'.Hyde::relativeLink($matches[1]).'"';
},
'/<img src="hyde::asset\(\'([^\']+)\'\)"/' => function (array $matches): string {
return '<img src="' . Hyde::asset($matches[1]) . '"';
return '<img src="'.Hyde::asset($matches[1]).'"';
},
];

Expand Down

0 comments on commit caf1c63

Please sign in to comment.