@@ -89,7 +89,7 @@ |
||
| 89 | 89 | /** |
| 90 | 90 | * @TODO 1.0.0 Remove support for 'base' in next major release; it has been replaced by 'baseurl' |
| 91 | 91 | * |
| 92 | - * @return mixed|null |
|
| 92 | + * @return string |
|
| 93 | 93 | */ |
| 94 | 94 | public function getBaseUrl() |
| 95 | 95 | { |
@@ -68,6 +68,7 @@ discard block |
||
| 68 | 68 | |
| 69 | 69 | /** |
| 70 | 70 | * {@inheritdoc} |
| 71 | + * @param string $filePath |
|
| 71 | 72 | */ |
| 72 | 73 | public function refreshItem($filePath) |
| 73 | 74 | { |
@@ -86,6 +87,7 @@ discard block |
||
| 86 | 87 | |
| 87 | 88 | /** |
| 88 | 89 | * {@inheritdoc} |
| 90 | + * @param string $filePath |
|
| 89 | 91 | */ |
| 90 | 92 | public function createNewItem($filePath) |
| 91 | 93 | { |
@@ -32,6 +32,9 @@ |
||
| 32 | 32 | )); |
| 33 | 33 | } |
| 34 | 34 | |
| 35 | + /** |
|
| 36 | + * @param boolean $absolute |
|
| 37 | + */ |
|
| 35 | 38 | private function getUrl($absolute) |
| 36 | 39 | { |
| 37 | 40 | $url = '/'; |
@@ -14,6 +14,9 @@ |
||
| 14 | 14 | { |
| 15 | 15 | private $container; |
| 16 | 16 | |
| 17 | + /** |
|
| 18 | + * @return \Symfony\Component\DependencyInjection\ContainerInterface |
|
| 19 | + */ |
|
| 17 | 20 | public function getContainer() |
| 18 | 21 | { |
| 19 | 22 | if ($this->container === null) |
@@ -110,6 +110,9 @@ discard block |
||
| 110 | 110 | // Twig parent templates |
| 111 | 111 | /// |
| 112 | 112 | |
| 113 | + /** |
|
| 114 | + * @param string $filePath |
|
| 115 | + */ |
|
| 113 | 116 | public function isImportDependency($filePath) |
| 114 | 117 | { |
| 115 | 118 | return isset($this->importDependencies[$filePath]); |
@@ -162,6 +165,9 @@ discard block |
||
| 162 | 165 | } |
| 163 | 166 | } |
| 164 | 167 | |
| 168 | + /** |
|
| 169 | + * @param string $filePath |
|
| 170 | + */ |
|
| 165 | 171 | public function compileImportDependencies($filePath) |
| 166 | 172 | { |
| 167 | 173 | foreach ($this->importDependencies[$filePath] as &$dependent) |
@@ -26,6 +26,9 @@ |
||
| 26 | 26 | } |
| 27 | 27 | } |
| 28 | 28 | |
| 29 | + /** |
|
| 30 | + * @param string $extension |
|
| 31 | + */ |
|
| 29 | 32 | public function getTransformer($extension) |
| 30 | 33 | { |
| 31 | 34 | if (isset($this->transformers[$extension])) |
@@ -49,7 +49,7 @@ discard block |
||
| 49 | 49 | /** |
| 50 | 50 | * Get all of the ContentItems grouped by Collection name. |
| 51 | 51 | * |
| 52 | - * @return ContentItem[][] |
|
| 52 | + * @return \allejo\stakx\Document\ReadableDocument[] |
|
| 53 | 53 | */ |
| 54 | 54 | public function &getCollections() |
| 55 | 55 | { |
@@ -135,6 +135,7 @@ discard block |
||
| 135 | 135 | |
| 136 | 136 | /** |
| 137 | 137 | * {@inheritdoc} |
| 138 | + * @param string $filePath |
|
| 138 | 139 | */ |
| 139 | 140 | public function createNewItem($filePath) |
| 140 | 141 | { |
@@ -101,7 +101,7 @@ |
||
| 101 | 101 | * |
| 102 | 102 | * @since 0.1.1 |
| 103 | 103 | * |
| 104 | - * @return BasePageView[][] |
|
| 104 | + * @return \allejo\stakx\Document\ReadableDocument[] |
|
| 105 | 105 | */ |
| 106 | 106 | public function &getPageViews() |
| 107 | 107 | { |
@@ -88,9 +88,9 @@ discard block |
||
| 88 | 88 | } |
| 89 | 89 | |
| 90 | 90 | /** |
| 91 | - * @param File|string $filePath |
|
| 91 | + * @param string $filePath |
|
| 92 | 92 | * |
| 93 | - * @return mixed|null |
|
| 93 | + * @return \allejo\stakx\Document\BasePageView |
|
| 94 | 94 | */ |
| 95 | 95 | public function createNewItem($filePath) |
| 96 | 96 | { |
@@ -135,9 +135,9 @@ discard block |
||
| 135 | 135 | /** |
| 136 | 136 | * Update the contents of a specified file. |
| 137 | 137 | * |
| 138 | - * @param File|string $filePath The relative path of the file |
|
| 138 | + * @param string $filePath The relative path of the file |
|
| 139 | 139 | * |
| 140 | - * @return mixed|null |
|
| 140 | + * @return \allejo\stakx\Document\BasePageView |
|
| 141 | 141 | */ |
| 142 | 142 | public function refreshItem($filePath) |
| 143 | 143 | { |
@@ -286,7 +286,7 @@ discard block |
||
| 286 | 286 | /** |
| 287 | 287 | * Return an array of JailedDocuments created from the tracked items |
| 288 | 288 | * |
| 289 | - * @param array $elements |
|
| 289 | + * @param ReadableDocument[] $elements |
|
| 290 | 290 | * @param \Closure $name |
| 291 | 291 | * |
| 292 | 292 | * @return JailedDocument[]|JailedDocument[][] |