@@ -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 | { |
@@ -33,7 +33,7 @@ discard block |
||
| 33 | 33 | * @param array $includes |
| 34 | 34 | * @param array $excludes |
| 35 | 35 | */ |
| 36 | - public function __construct($includes = array(), $excludes = array()) |
|
| 36 | + public function __construct ($includes = array(), $excludes = array()) |
|
| 37 | 37 | { |
| 38 | 38 | parent::__construct(); |
| 39 | 39 | |
@@ -54,7 +54,7 @@ discard block |
||
| 54 | 54 | /** |
| 55 | 55 | * Copy all of the assets |
| 56 | 56 | */ |
| 57 | - public function copyFiles() |
|
| 57 | + public function copyFiles () |
|
| 58 | 58 | { |
| 59 | 59 | $this->scanTrackableItems( |
| 60 | 60 | '.', |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * {@inheritdoc} |
| 71 | 71 | */ |
| 72 | - protected function handleTrackableItem($file, $options = array()) |
|
| 72 | + protected function handleTrackableItem ($file, $options = array()) |
|
| 73 | 73 | { |
| 74 | 74 | if (!$this->fs->exists($file)) { return; } |
| 75 | 75 | |
@@ -37,7 +37,9 @@ |
||
| 37 | 37 | */ |
| 38 | 38 | protected function copyToCompiledSite ($file, $prefix = "") |
| 39 | 39 | { |
| 40 | - if (!$this->fs->exists($file)) { return; } |
|
| 40 | + if (!$this->fs->exists($file)) |
|
| 41 | + { |
|
| 42 | +return; } |
|
| 41 | 43 | |
| 42 | 44 | $filePath = $file->getRealPath(); |
| 43 | 45 | $pathToStrip = $this->fs->appendPath(getcwd(), $prefix); |