@@ -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 { |
@@ -37,7 +37,6 @@ |
||
37 | 37 | private $capabilitites; |
38 | 38 | |
39 | 39 | /** |
40 | - * @param IL10N $l |
|
41 | 40 | * @param IURLGenerator $url |
42 | 41 | */ |
43 | 42 | public function __construct(IL10N $l10n, IURLGenerator $url, Capabilities $capabilities) { |
@@ -104,7 +104,6 @@ discard block |
||
104 | 104 | * @param string $appName |
105 | 105 | * @param string $userId |
106 | 106 | * @param IConfig $config |
107 | - * @param Factory $appDataFactory |
|
108 | 107 | * @param IURLGenerator $urlGenerator |
109 | 108 | * @param IRootFolder $rootFolder |
110 | 109 | * @param IL10N $l |
@@ -148,6 +147,9 @@ discard block |
||
148 | 147 | } |
149 | 148 | } |
150 | 149 | |
150 | + /** |
|
151 | + * @param string $userId |
|
152 | + */ |
|
151 | 153 | public function setUserId($userId) { |
152 | 154 | $this->userId = $userId; |
153 | 155 | } |
@@ -323,6 +325,9 @@ discard block |
||
323 | 325 | })); |
324 | 326 | } |
325 | 327 | |
328 | + /** |
|
329 | + * @param string $type |
|
330 | + */ |
|
326 | 331 | public function getAllFormatted($type) { |
327 | 332 | if (!array_key_exists($type, self::$tplTypes)) { |
328 | 333 | return []; |
@@ -457,6 +462,9 @@ discard block |
||
457 | 462 | ]; |
458 | 463 | } |
459 | 464 | |
465 | + /** |
|
466 | + * @param integer $fileId |
|
467 | + */ |
|
460 | 468 | public function isTemplate($fileId) { |
461 | 469 | $empty = $this->getEmpty(); |
462 | 470 | $system = $this->getSystem(); |
@@ -166,6 +166,9 @@ |
||
166 | 166 | } |
167 | 167 | } |
168 | 168 | |
169 | + /** |
|
170 | + * @param string $filepath |
|
171 | + */ |
|
169 | 172 | private function mb_pathinfo($filepath) { |
170 | 173 | $result = []; |
171 | 174 | preg_match('%^(.*?)[\\\\/]*(([^/\\\\]*?)(\.([^\.\\\\/]+?)|))[\\\\/\.]*$%im',$filepath,$matches); |