@@ -100,8 +100,8 @@ |
||
100 | 100 | /** |
101 | 101 | * Return the relative date in relation to today. Returns something like "last hour" or "two month ago" |
102 | 102 | * @param int $timestamp unix timestamp |
103 | - * @param boolean $dateOnly |
|
104 | - * @return \OC_L10N_String human readable interpretation of the timestamp |
|
103 | + * @param integer $dateOnly |
|
104 | + * @return string human readable interpretation of the timestamp |
|
105 | 105 | * |
106 | 106 | * @deprecated 8.0.0 Use \OCP\Template::relative_modified_date() instead |
107 | 107 | */ |
@@ -544,7 +544,7 @@ |
||
544 | 544 | * @param array $input The array to work on |
545 | 545 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
546 | 546 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
547 | - * @return array |
|
547 | + * @return string |
|
548 | 548 | * @since 4.5.0 |
549 | 549 | */ |
550 | 550 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -98,7 +98,7 @@ |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * @param string|int $category |
|
101 | + * @param string $category |
|
102 | 102 | * @return int |
103 | 103 | */ |
104 | 104 | protected function getCategory($category) { |
@@ -71,7 +71,7 @@ discard block |
||
71 | 71 | * |
72 | 72 | * @NoAdminRequired |
73 | 73 | * @NoSubadminRequired |
74 | - * @return array |
|
74 | + * @return DataResponse |
|
75 | 75 | */ |
76 | 76 | public function addPersonalRootCertificate() { |
77 | 77 | return $this->addCertificate($this->userCertificateManager); |
@@ -81,7 +81,7 @@ discard block |
||
81 | 81 | * Add a new root certificate to a trust store |
82 | 82 | * |
83 | 83 | * @param ICertificateManager $certificateManager |
84 | - * @return array |
|
84 | + * @return DataResponse |
|
85 | 85 | */ |
86 | 86 | private function addCertificate(ICertificateManager $certificateManager) { |
87 | 87 | $headers = []; |
@@ -159,7 +159,7 @@ discard block |
||
159 | 159 | /** |
160 | 160 | * Add a new personal root certificate to the system's trust store |
161 | 161 | * |
162 | - * @return array |
|
162 | + * @return DataResponse |
|
163 | 163 | */ |
164 | 164 | public function addSystemRootCertificate() { |
165 | 165 | return $this->addCertificate($this->systemCertificateManager); |
@@ -268,7 +268,7 @@ |
||
268 | 268 | |
269 | 269 | /** |
270 | 270 | * @NoCSRFRequired |
271 | - * @return DataResponse |
|
271 | + * @return DataDisplayResponse |
|
272 | 272 | */ |
273 | 273 | public function getFailedIntegrityCheckFiles() { |
274 | 274 | if(!$this->checker->isCodeCheckEnforced()) { |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |