@@ -65,6 +65,9 @@ |
||
65 | 65 | $this->timeFactory = $timeFactory; |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @return string |
|
70 | + */ |
|
68 | 71 | public function get() { |
69 | 72 | // First check if there is a local valid discovery file |
70 | 73 | try { |
@@ -288,6 +288,9 @@ discard block |
||
288 | 288 | })); |
289 | 289 | } |
290 | 290 | |
291 | + /** |
|
292 | + * @param string $type |
|
293 | + */ |
|
291 | 294 | public function getAllFormatted($type) { |
292 | 295 | if (!array_key_exists($type, self::$tplTypes)) { |
293 | 296 | return []; |
@@ -419,6 +422,9 @@ discard block |
||
419 | 422 | ]; |
420 | 423 | } |
421 | 424 | |
425 | + /** |
|
426 | + * @param integer $fileId |
|
427 | + */ |
|
422 | 428 | public function isTemplate($fileId) { |
423 | 429 | $system = $this->getSystem(); |
424 | 430 | $user = $this->getUser(); |