@@ -320,7 +320,7 @@ |
||
320 | 320 | |
321 | 321 | /** |
322 | 322 | * @param IJob $job |
323 | - * @param $timeTaken |
|
323 | + * @param integer $timeTaken |
|
324 | 324 | */ |
325 | 325 | public function setExecutionTime(IJob $job, $timeTaken) { |
326 | 326 | $query = $this->connection->getQueryBuilder(); |
@@ -431,7 +431,7 @@ |
||
431 | 431 | } |
432 | 432 | |
433 | 433 | /** |
434 | - * @param array $disabledApps |
|
434 | + * @param string[] $disabledApps |
|
435 | 435 | * @throws \Exception |
436 | 436 | */ |
437 | 437 | private function upgradeAppStoreApps(array $disabledApps) { |
@@ -48,6 +48,9 @@ discard block |
||
48 | 48 | $this->stack = $stack; |
49 | 49 | } |
50 | 50 | |
51 | + /** |
|
52 | + * @param double $time |
|
53 | + */ |
|
51 | 54 | public function end($time) { |
52 | 55 | $this->end = $time; |
53 | 56 | } |
@@ -67,7 +70,7 @@ discard block |
||
67 | 70 | } |
68 | 71 | |
69 | 72 | /** |
70 | - * @return float |
|
73 | + * @return integer |
|
71 | 74 | */ |
72 | 75 | public function getStart() { |
73 | 76 | return $this->start; |
@@ -448,7 +448,7 @@ |
||
448 | 448 | * |
449 | 449 | * @param string $path source path |
450 | 450 | * @param string $destination destination path |
451 | - * @return bool|void false to stop handling, void to skip this handler |
|
451 | + * @return null|false false to stop handling, void to skip this handler |
|
452 | 452 | */ |
453 | 453 | public function beforeMoveFutureFile($path, $destination) { |
454 | 454 | $sourceNode = $this->tree->getNodeForPath($path); |
@@ -58,7 +58,6 @@ |
||
58 | 58 | * @param IConfig $config |
59 | 59 | * @param IL10N $l |
60 | 60 | * @param IURLGenerator $urlGenerator |
61 | - * @param \OC_Defaults $defaults |
|
62 | 61 | * @param IAppData $appData |
63 | 62 | * @param ICacheFactory $cacheFactory |
64 | 63 | * @param Util $util |
@@ -51,6 +51,9 @@ discard block |
||
51 | 51 | ]; |
52 | 52 | } |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $type |
|
56 | + */ |
|
54 | 57 | protected function formatSections($sections, $currentSection, $type) { |
55 | 58 | $templateParameters = []; |
56 | 59 | /** @var \OCP\Settings\ISection[] $prioritizedSections */ |
@@ -81,6 +84,9 @@ discard block |
||
81 | 84 | return $templateParameters; |
82 | 85 | } |
83 | 86 | |
87 | + /** |
|
88 | + * @param string $currentSections |
|
89 | + */ |
|
84 | 90 | protected function formatPersonalSections($currentSections) { |
85 | 91 | $sections = $this->settingsManager->getPersonalSections(); |
86 | 92 | $templateParameters = $this->formatSections($sections, $currentSections, 'personal'); |
@@ -88,6 +94,9 @@ discard block |
||
88 | 94 | return $templateParameters; |
89 | 95 | } |
90 | 96 | |
97 | + /** |
|
98 | + * @param string $currentSections |
|
99 | + */ |
|
91 | 100 | protected function formatAdminSections($currentSections) { |
92 | 101 | $sections = $this->settingsManager->getAdminSections(); |
93 | 102 | $templateParameters = $this->formatSections($sections, $currentSections, 'admin'); |
@@ -111,6 +120,9 @@ discard block |
||
111 | 120 | return ['content' => $html]; |
112 | 121 | } |
113 | 122 | |
123 | + /** |
|
124 | + * @param string $section |
|
125 | + */ |
|
114 | 126 | private function getIndexResponse($section) { |
115 | 127 | $templateParams = []; |
116 | 128 | $templateParams = array_merge($templateParams, $this->getNavigationParameters($section)); |