aboutsummaryrefslogtreecommitdiff
path: root/app/class/Flywheel/Repository.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/class/Flywheel/Repository.php')
-rw-r--r--app/class/Flywheel/Repository.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/class/Flywheel/Repository.php b/app/class/Flywheel/Repository.php
index d0b68eb..d34099f 100644
--- a/app/class/Flywheel/Repository.php
+++ b/app/class/Flywheel/Repository.php
@@ -1,4 +1,5 @@
<?php
+
namespace Wcms\Flywheel;
class Repository extends \JamesMoss\Flywheel\Repository
@@ -23,7 +24,7 @@ class Repository extends \JamesMoss\Flywheel\Repository
public function getAllIds()
{
$ext = $this->formatter->getFileExtension();
- return array_map(function($path) use ($ext) {
+ return array_map(function ($path) use ($ext) {
return $this->getIdFromPath($path, $ext);
}, $this->getAllFiles());
}