From 1c97d0198c4afefe1b26aa9405ffa6f4b8ce591c Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 21 Aug 2018 09:38:08 +0100 Subject: [PATCH] Remove string typehint PHP 5 compatibility --- src/Service/Partials.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)