diff --git a/src/Service/Partials.php b/src/Service/Partials.php index d24cdea..8ab8fff 100644 --- a/src/Service/Partials.php +++ b/src/Service/Partials.php @@ -19,7 +19,7 @@ class Partials $files = (new static())->getFilePattern($directoryName); return collect(glob($files)) - ->map(function (string $filename) { + ->map(function ($filename) { return include $filename; }) ->flatten(1)