@@ -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 | { |
@@ -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 PageView |
|
94 | 94 | */ |
95 | 95 | public function createNewItem($filePath) |
96 | 96 | { |
@@ -135,7 +135,7 @@ 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 | 140 | * @return PageView |
141 | 141 | */ |
@@ -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 TrackableDocument[] $elements |
|
290 | 290 | * |
291 | 291 | * @return JailedDocument[]|JailedDocument[][] |
292 | 292 | */ |