@@ -90,6 +90,9 @@ discard block |
||
| 90 | 90 | $this->pageViewsFlattened = &$pageViewsFlattened; |
| 91 | 91 | } |
| 92 | 92 | |
| 93 | + /** |
|
| 94 | + * @param string $themeName |
|
| 95 | + */ |
|
| 93 | 96 | public function setThemeName($themeName) |
| 94 | 97 | { |
| 95 | 98 | $this->theme = $themeName; |
@@ -378,7 +381,6 @@ discard block |
||
| 378 | 381 | * Get the compiled HTML for a specific ContentItem. |
| 379 | 382 | * |
| 380 | 383 | * @param Twig_Template $template |
| 381 | - * @param PageView $pageView |
|
| 382 | 384 | * @param ContentItem $contentItem |
| 383 | 385 | * |
| 384 | 386 | * @since 0.1.1 |
@@ -34,6 +34,7 @@ |
||
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * {@inheritdoc} |
| 37 | + * @param string $filePath |
|
| 37 | 38 | */ |
| 38 | 39 | public function __construct($filePath) |
| 39 | 40 | { |
@@ -11,6 +11,7 @@ |
||
| 11 | 11 | { |
| 12 | 12 | /** |
| 13 | 13 | * @param string $filePath |
| 14 | + * @return void |
|
| 14 | 15 | */ |
| 15 | 16 | public function __construct($filePath); |
| 16 | 17 | |
@@ -33,7 +33,7 @@ |
||
| 33 | 33 | |
| 34 | 34 | if (!$this->fs->exists($filePath)) |
| 35 | 35 | { |
| 36 | - throw new FileNotFoundException("The following file could not be found: ${filePath}"); |
|
| 36 | + throw new FileNotFoundException("The following file could not be found: ${filepath}"); |
|
| 37 | 37 | } |
| 38 | 38 | |
| 39 | 39 | $this->fileExtension = strtolower($this->fs->getExtension($filePath)); |
@@ -69,7 +69,9 @@ |
||
| 69 | 69 | */ |
| 70 | 70 | foreach ($this->trackedItemsFlattened as &$item) |
| 71 | 71 | { |
| 72 | - if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft']) { continue; } |
|
| 72 | + if (!Service::getParameter(BuildableCommand::USE_DRAFTS) && $item['draft']) |
|
| 73 | + { |
|
| 74 | +continue; } |
|
| 73 | 75 | |
| 74 | 76 | $jailItems[$item->getNamespace()][$item->getName()] = $item->createJail(); |
| 75 | 77 | } |