@@ -32,7 +32,7 @@ |
||
| 32 | 32 | /** |
| 33 | 33 | * Get all of the DataItems and DataSets in this manager |
| 34 | 34 | * |
| 35 | - * @return array |
|
| 35 | + * @return string |
|
| 36 | 36 | */ |
| 37 | 37 | public function getDataItems () |
| 38 | 38 | { |
@@ -57,7 +57,7 @@ discard block |
||
| 57 | 57 | */ |
| 58 | 58 | protected $tracking; |
| 59 | 59 | |
| 60 | - public function __construct() |
|
| 60 | + public function __construct () |
|
| 61 | 61 | { |
| 62 | 62 | parent::__construct(); |
| 63 | 63 | |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * {@inheritdoc} |
| 111 | 111 | */ |
| 112 | - public function delArrayFromTracker($key, $filePath, $namespace = null) |
|
| 112 | + public function delArrayFromTracker ($key, $filePath, $namespace = null) |
|
| 113 | 113 | { |
| 114 | 114 | if (is_null($namespace)) |
| 115 | 115 | { |
@@ -8,7 +8,6 @@ |
||
| 8 | 8 | namespace allejo\stakx\Manager; |
| 9 | 9 | |
| 10 | 10 | use allejo\stakx\Object\FrontMatterObject; |
| 11 | -use Symfony\Component\Finder\Finder; |
|
| 12 | 11 | use Symfony\Component\Finder\SplFileInfo; |
| 13 | 12 | |
| 14 | 13 | /** |
@@ -16,7 +16,7 @@ discard block |
||
| 16 | 16 | * |
| 17 | 17 | * @return ContentItem|null |
| 18 | 18 | */ |
| 19 | - public function &getContentItem ($filePath) |
|
| 19 | + public function &getContentItem($filePath) |
|
| 20 | 20 | { |
| 21 | 21 | return $this->trackedItemsFlattened[$filePath]; |
| 22 | 22 | } |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | /** |
| 103 | 103 | * {@inheritdoc} |
| 104 | 104 | */ |
| 105 | - public function refreshItem($filePath) |
|
| 105 | + public function refreshItem ($filePath) |
|
| 106 | 106 | { |
| 107 | 107 | return; |
| 108 | 108 | } |
@@ -110,7 +110,7 @@ discard block |
||
| 110 | 110 | /** |
| 111 | 111 | * {@inheritdoc} |
| 112 | 112 | */ |
| 113 | - protected function handleTrackableItem($filePath, $options = array()) |
|
| 113 | + protected function handleTrackableItem ($filePath, $options = array()) |
|
| 114 | 114 | { |
| 115 | 115 | $collectionName = $options['namespace']; |
| 116 | 116 | |
@@ -47,14 +47,14 @@ |
||
| 47 | 47 | } |
| 48 | 48 | } |
| 49 | 49 | |
| 50 | - public function isTracked($filePath) |
|
| 50 | + public function isTracked ($filePath) |
|
| 51 | 51 | { |
| 52 | 52 | $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath); |
| 53 | 53 | |
| 54 | 54 | return parent::isTracked($relativeFilePath); |
| 55 | 55 | } |
| 56 | 56 | |
| 57 | - public function refreshItem($filePath) |
|
| 57 | + public function refreshItem ($filePath) |
|
| 58 | 58 | { |
| 59 | 59 | $relativeFilePath = str_replace($this->themeFolderRelative . '/', '', $filePath); |
| 60 | 60 | |
@@ -47,7 +47,7 @@ discard block |
||
| 47 | 47 | /** |
| 48 | 48 | * Copy all of the assets |
| 49 | 49 | */ |
| 50 | - public function copyFiles() |
|
| 50 | + public function copyFiles () |
|
| 51 | 51 | { |
| 52 | 52 | $this->scanTrackableItems( |
| 53 | 53 | '.', |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | /** |
| 63 | 63 | * {@inheritdoc} |
| 64 | 64 | */ |
| 65 | - protected function handleTrackableItem($file, $options = array()) |
|
| 65 | + protected function handleTrackableItem ($file, $options = array()) |
|
| 66 | 66 | { |
| 67 | 67 | if (is_string($file)) |
| 68 | 68 | { |