@@ -98,7 +98,7 @@ |
||
| 98 | 98 | /** |
| 99 | 99 | * get the stored metadata of a file or folder |
| 100 | 100 | * |
| 101 | - * @param string|int $file |
|
| 101 | + * @param string $file |
|
| 102 | 102 | * @return array|false |
| 103 | 103 | */ |
| 104 | 104 | public function get($file) { |
@@ -73,8 +73,6 @@ |
||
| 73 | 73 | /** |
| 74 | 74 | * save the configuration value as provided |
| 75 | 75 | * @param string $configID |
| 76 | - * @param string $configKey |
|
| 77 | - * @param string $configValue |
|
| 78 | 76 | */ |
| 79 | 77 | protected function setValue($configID, $key, $value) { |
| 80 | 78 | $configHolder = new Configuration($configID); |
@@ -281,7 +281,6 @@ |
||
| 281 | 281 | * |
| 282 | 282 | * @param string $varName name of config-key |
| 283 | 283 | * @param array|string $value to set |
| 284 | - * @param boolean $trim Trim value? (default: false) |
|
| 285 | 284 | */ |
| 286 | 285 | protected function setMultiLine($varName, $value) { |
| 287 | 286 | if(empty($value)) { |
@@ -68,7 +68,7 @@ |
||
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | - * @return int |
|
| 71 | + * @return string |
|
| 72 | 72 | */ |
| 73 | 73 | static private function getRefreshInterval() { |
| 74 | 74 | //defaults to every hour |
@@ -864,7 +864,7 @@ discard block |
||
| 864 | 864 | * @param integer $filterType int, for which use case the filter shall be created |
| 865 | 865 | * can be any of self::LFILTER_USER_LIST, self::LFILTER_LOGIN or |
| 866 | 866 | * self::LFILTER_GROUP_LIST |
| 867 | - * @return string|false string with the filter on success, false otherwise |
|
| 867 | + * @return string string with the filter on success, false otherwise |
|
| 868 | 868 | * @throws \Exception |
| 869 | 869 | */ |
| 870 | 870 | private function composeLdapFilter($filterType) { |
@@ -1107,7 +1107,7 @@ discard block |
||
| 1107 | 1107 | } |
| 1108 | 1108 | |
| 1109 | 1109 | /** |
| 1110 | - * @param array $reqs |
|
| 1110 | + * @param string[] $reqs |
|
| 1111 | 1111 | * @return bool |
| 1112 | 1112 | */ |
| 1113 | 1113 | private function checkRequirements($reqs) { |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace OCA\user_ldap\tests\integration\lib; |
| 23 | 23 | |
| 24 | -use OCA\user_ldap\lib\user\Manager as LDAPUserManager; |
|
| 25 | 24 | use OCA\user_ldap\tests\integration\AbstractIntegrationTest; |
| 26 | 25 | use OCA\User_LDAP\Mapping\UserMapping; |
| 27 | 26 | use OCA\user_ldap\USER_LDAP; |
@@ -149,8 +149,8 @@ |
||
| 149 | 149 | * Get a list of all users |
| 150 | 150 | * |
| 151 | 151 | * @param string $search |
| 152 | - * @param null|int $limit |
|
| 153 | - * @param null|int $offset |
|
| 152 | + * @param integer $limit |
|
| 153 | + * @param integer $offset |
|
| 154 | 154 | * @return string[] an array of all uids |
| 155 | 155 | */ |
| 156 | 156 | public function getUsers($search = '', $limit = 10, $offset = 0) { |
@@ -118,6 +118,9 @@ discard block |
||
| 118 | 118 | echo "License updated: $path" . PHP_EOL; |
| 119 | 119 | } |
| 120 | 120 | |
| 121 | + /** |
|
| 122 | + * @param string $source |
|
| 123 | + */ |
|
| 121 | 124 | private function isMITLicensed($source) { |
| 122 | 125 | $lines = explode(PHP_EOL, $source); |
| 123 | 126 | while(!empty($lines)) { |
@@ -131,6 +134,9 @@ discard block |
||
| 131 | 134 | return false; |
| 132 | 135 | } |
| 133 | 136 | |
| 137 | + /** |
|
| 138 | + * @param string $source |
|
| 139 | + */ |
|
| 134 | 140 | private function eatOldLicense($source) { |
| 135 | 141 | $lines = explode(PHP_EOL, $source); |
| 136 | 142 | while(!empty($lines)) { |
@@ -329,7 +329,7 @@ discard block |
||
| 329 | 329 | /** |
| 330 | 330 | * @param string $app |
| 331 | 331 | * @param string $text |
| 332 | - * @param array $params |
|
| 332 | + * @param string $params |
|
| 333 | 333 | * @param boolean $stripPath |
| 334 | 334 | * @param boolean $highlightParams |
| 335 | 335 | * @param string $languageCode |
@@ -427,7 +427,7 @@ discard block |
||
| 427 | 427 | } |
| 428 | 428 | |
| 429 | 429 | /** |
| 430 | - * @param array $types |
|
| 430 | + * @param string[] $types |
|
| 431 | 431 | * @param string $filter |
| 432 | 432 | * @return array |
| 433 | 433 | */ |