@@ -410,6 +410,9 @@ discard block |
||
410 | 410 | } |
411 | 411 | } |
412 | 412 | |
413 | + /** |
|
414 | + * @param string $path |
|
415 | + */ |
|
413 | 416 | private function getParentPath($path) { |
414 | 417 | $parent = dirname($path); |
415 | 418 | if ($parent === '.') { |
@@ -629,7 +632,7 @@ discard block |
||
629 | 632 | * |
630 | 633 | * @param string $mimetype either a full mimetype to search ('text/plain') or only the first part of a mimetype ('image') |
631 | 634 | * where it will search for all mimetypes in the group ('image/*') |
632 | - * @return ICacheEntry[] an array of cache entries where the mimetype matches the search |
|
635 | + * @return CacheEntry[] an array of cache entries where the mimetype matches the search |
|
633 | 636 | */ |
634 | 637 | public function searchByMime($mimetype) { |
635 | 638 | if (strpos($mimetype, '/')) { |
@@ -121,7 +121,7 @@ discard block |
||
121 | 121 | /** |
122 | 122 | * List all installed apps |
123 | 123 | * |
124 | - * @return string[] |
|
124 | + * @return integer[] |
|
125 | 125 | */ |
126 | 126 | public function getInstalledApps() { |
127 | 127 | return array_keys($this->getInstalledAppsValues()); |
@@ -382,6 +382,9 @@ discard block |
||
382 | 382 | return in_array($appId, $this->shippedApps, true); |
383 | 383 | } |
384 | 384 | |
385 | + /** |
|
386 | + * @param string $appId |
|
387 | + */ |
|
385 | 388 | private function isAlwaysEnabled($appId) { |
386 | 389 | $alwaysEnabled = $this->getAlwaysEnabledApps(); |
387 | 390 | return in_array($appId, $alwaysEnabled, true); |
@@ -30,6 +30,9 @@ discard block |
||
30 | 30 | /** @var JSCombiner */ |
31 | 31 | protected $jsCombiner; |
32 | 32 | |
33 | + /** |
|
34 | + * @param string $theme |
|
35 | + */ |
|
33 | 36 | public function __construct(\OCP\ILogger $logger, $theme, array $core_map, array $party_map, JSCombiner $JSCombiner) { |
34 | 37 | parent::__construct($logger, $theme, $core_map, $party_map); |
35 | 38 | |
@@ -91,6 +94,9 @@ discard block |
||
91 | 94 | public function doFindTheme($script) { |
92 | 95 | } |
93 | 96 | |
97 | + /** |
|
98 | + * @param string $file |
|
99 | + */ |
|
94 | 100 | protected function cacheAndAppendCombineJsonIfExist($root, $file, $app = 'core') { |
95 | 101 | if (is_file($root.'/'.$file)) { |
96 | 102 | if ($this->jsCombiner->process($root, $file, $app)) { |
@@ -53,6 +53,10 @@ |
||
53 | 53 | /** @var string */ |
54 | 54 | private $documentLibraryTitle; |
55 | 55 | |
56 | + /** |
|
57 | + * @param string $sharePointUrl |
|
58 | + * @param string $documentLibraryTitle |
|
59 | + */ |
|
56 | 60 | public function __construct(ContextsFactory $contextsFactory, $sharePointUrl, array $credentials, $documentLibraryTitle) { |
57 | 61 | $this->contextsFactory = $contextsFactory; |
58 | 62 | $this->sharePointUrl = $sharePointUrl; |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | } |
328 | 328 | |
329 | 329 | /** |
330 | - * @param $serverUrl |
|
330 | + * @param string $serverUrl |
|
331 | 331 | * @return ClientObjectCollection[] |
332 | 332 | */ |
333 | 333 | private function getFolderContents($serverUrl) { |
@@ -359,7 +359,7 @@ discard block |
||
359 | 359 | } |
360 | 360 | |
361 | 361 | /** |
362 | - * @param $serverUrl |
|
362 | + * @param string $serverUrl |
|
363 | 363 | * @return File|Folder |
364 | 364 | */ |
365 | 365 | private function getFileOrFolder($serverUrl) { |
@@ -378,7 +378,7 @@ discard block |
||
378 | 378 | /** |
379 | 379 | * creates the relative server "url" out of the provided path |
380 | 380 | * |
381 | - * @param $path |
|
381 | + * @param string $path |
|
382 | 382 | * @return string |
383 | 383 | */ |
384 | 384 | private function formatPath($path) { |