diff --git a/app/helpers.php b/app/helpers.php index 71f4e24..d5d5446 100644 --- a/app/helpers.php +++ b/app/helpers.php @@ -109,10 +109,12 @@ function filter_templates($templates) return [ "{$path}/{$template}.blade.php", "{$path}/{$template}.php", - "{$template}.blade.php", - "{$template}.php", ]; - }); + }) + ->concat([ + "{$template}.blade.php", + "{$template}.php", + ]); }) ->filter() ->unique()