@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * get color for on-page elements: |
| 54 | 54 | * theme color by default, grey if theme color is to bright |
| 55 | - * @param $color |
|
| 55 | + * @param string $color |
|
| 56 | 56 | * @return string |
| 57 | 57 | */ |
| 58 | 58 | public function elementColor($color) { |
@@ -83,7 +83,7 @@ discard block |
||
| 83 | 83 | } |
| 84 | 84 | |
| 85 | 85 | /** |
| 86 | - * @param $color |
|
| 86 | + * @param string $color |
|
| 87 | 87 | * @return string base64 encoded radio button svg |
| 88 | 88 | */ |
| 89 | 89 | public function generateRadioButton($color) { |
@@ -152,8 +152,8 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * replace default color with a custom one |
| 154 | 154 | * |
| 155 | - * @param $svg string content of a svg file |
|
| 156 | - * @param $color string color to match |
|
| 155 | + * @param string $svg string content of a svg file |
|
| 156 | + * @param string $color string color to match |
|
| 157 | 157 | * @return string |
| 158 | 158 | */ |
| 159 | 159 | public function colorizeSvg($svg, $color) { |
@@ -1143,7 +1143,7 @@ discard block |
||
| 1143 | 1143 | * Get the certificate manager for the user |
| 1144 | 1144 | * |
| 1145 | 1145 | * @param string $userId (optional) if not specified the current loggedin user is used, use null to get the system certificate manager |
| 1146 | - * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in |
|
| 1146 | + * @return null|CertificateManager | null if $uid is null and no user is logged in |
|
| 1147 | 1147 | */ |
| 1148 | 1148 | public function getCertificateManager($userId = '') { |
| 1149 | 1149 | if ($userId === '') { |
@@ -1464,6 +1464,7 @@ discard block |
||
| 1464 | 1464 | } |
| 1465 | 1465 | |
| 1466 | 1466 | /** |
| 1467 | + * @param string $app |
|
| 1467 | 1468 | * @return \OCP\Files\IAppData |
| 1468 | 1469 | */ |
| 1469 | 1470 | public function getAppDataDir($app) { |
@@ -160,7 +160,7 @@ discard block |
||
| 160 | 160 | } |
| 161 | 161 | |
| 162 | 162 | /** |
| 163 | - * @param $filename |
|
| 163 | + * @param string $filename |
|
| 164 | 164 | * @return \OCP\Files\SimpleFS\ISimpleFile |
| 165 | 165 | */ |
| 166 | 166 | private function getCachedImage($filename) { |
@@ -173,8 +173,8 @@ discard block |
||
| 173 | 173 | } |
| 174 | 174 | |
| 175 | 175 | /** |
| 176 | - * @param $filename |
|
| 177 | - * @param $data |
|
| 176 | + * @param string $filename |
|
| 177 | + * @param string $data |
|
| 178 | 178 | * @return ISimpleFile |
| 179 | 179 | */ |
| 180 | 180 | private function setCachedImage($filename, $data) { |