@@ -69,7 +69,7 @@ |
||
69 | 69 | /** |
70 | 70 | * Generate a keypair |
71 | 71 | * |
72 | - * @param int $keyLenth |
|
72 | + * @param integer $keyLength |
|
73 | 73 | * @return array ['privatekey' => $privateKey, 'publickey' => $publicKey] |
74 | 74 | */ |
75 | 75 | public function createKey($keyLength) { |
@@ -180,6 +180,10 @@ discard block |
||
180 | 180 | return 'en'; |
181 | 181 | } |
182 | 182 | |
183 | + /** |
|
184 | + * @param string $app |
|
185 | + * @param string $lang |
|
186 | + */ |
|
183 | 187 | public function findLocale($app = null, $lang = null) |
184 | 188 | { |
185 | 189 | if ($this->config->getSystemValue('installed', false)) { |
@@ -367,6 +371,11 @@ discard block |
||
367 | 371 | */ |
368 | 372 | // FIXME This method is only public, until OC_L10N does not need it anymore, |
369 | 373 | // FIXME This is also the reason, why it is not in the public interface |
374 | + |
|
375 | + /** |
|
376 | + * @param string $app |
|
377 | + * @param string $lang |
|
378 | + */ |
|
370 | 379 | public function getL10nFilesForApp($app, $lang) { |
371 | 380 | $languageFiles = []; |
372 | 381 |