@@ -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 | { |
@@ -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 | |
@@ -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 | { |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | /** |
| 29 | 29 | * Get all of the ContentItems grouped by Collection name. |
| 30 | 30 | * |
| 31 | - * @return ContentItem[][] |
|
| 31 | + * @return \allejo\stakx\Document\TrackableDocument[] |
|
| 32 | 32 | */ |
| 33 | 33 | public function &getCollections() |
| 34 | 34 | { |
@@ -109,6 +109,7 @@ discard block |
||
| 109 | 109 | |
| 110 | 110 | /** |
| 111 | 111 | * {@inheritdoc} |
| 112 | + * @param string $filePath |
|
| 112 | 113 | */ |
| 113 | 114 | public function createNewItem($filePath) |
| 114 | 115 | { |
@@ -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) |
@@ -21,7 +21,7 @@ |
||
| 21 | 21 | protected $fs; |
| 22 | 22 | |
| 23 | 23 | /** |
| 24 | - * @param string $filePath |
|
| 24 | + * @param File $filePath |
|
| 25 | 25 | */ |
| 26 | 26 | public function __construct(File $filePath) |
| 27 | 27 | { |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | * @deprecated Been replaced by getPageViewsFlattened() |
| 87 | 87 | * @since 0.1.0 |
| 88 | 88 | * |
| 89 | - * @return PageView[][] |
|
| 89 | + * @return \allejo\stakx\Document\TrackableDocument[] |
|
| 90 | 90 | */ |
| 91 | 91 | public function getAllPageViews() |
| 92 | 92 | { |
@@ -98,7 +98,7 @@ discard block |
||
| 98 | 98 | * |
| 99 | 99 | * @since 0.1.1 |
| 100 | 100 | * |
| 101 | - * @return PageView[][] |
|
| 101 | + * @return \allejo\stakx\Document\TrackableDocument[] |
|
| 102 | 102 | */ |
| 103 | 103 | public function &getPageViews() |
| 104 | 104 | { |