@@ -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 { |
@@ -77,7 +77,7 @@ |
||
77 | 77 | * Get preview for a specific template |
78 | 78 | * |
79 | 79 | * @param string $templateName The template id |
80 | - * @return DataDisplayResponse|NotFoundResponse |
|
80 | + * @return null|NotFoundResponse |
|
81 | 81 | */ |
82 | 82 | public function getPreview(string $templateName) { |
83 | 83 | try { |