@@ -24,16 +24,13 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace OCA\Federation\AppInfo; |
| 26 | 26 | |
| 27 | -use OCA\Federation\API\OCSAuthAPI; |
|
| 28 | 27 | use OCA\Federation\Controller\SettingsController; |
| 29 | 28 | use OCA\Federation\DAV\FedAuth; |
| 30 | 29 | use OCA\Federation\DbHandler; |
| 31 | 30 | use OCA\Federation\Hooks; |
| 32 | 31 | use OCA\Federation\Middleware\AddServerMiddleware; |
| 33 | 32 | use OCA\Federation\SyncFederationAddressBooks; |
| 34 | -use OCA\Federation\SyncJob; |
|
| 35 | 33 | use OCA\Federation\TrustedServers; |
| 36 | -use OCP\API; |
|
| 37 | 34 | use OCP\App; |
| 38 | 35 | use OCP\AppFramework\IAppContainer; |
| 39 | 36 | use OCP\SabrePluginEvent; |
@@ -24,7 +24,7 @@ |
||
| 24 | 24 | /** |
| 25 | 25 | * BaseResponse constructor. |
| 26 | 26 | * |
| 27 | - * @param DataResponse|null $dataResponse |
|
| 27 | + * @param DataResponse $dataResponse |
|
| 28 | 28 | * @param string $format |
| 29 | 29 | * @param string|null $statusMessage |
| 30 | 30 | * @param int|null $itemsCount |
@@ -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) { |
@@ -226,7 +226,7 @@ discard block |
||
| 226 | 226 | |
| 227 | 227 | /** |
| 228 | 228 | * By default renders no output |
| 229 | - * @return null |
|
| 229 | + * @return string |
|
| 230 | 230 | * @since 6.0.0 |
| 231 | 231 | */ |
| 232 | 232 | public function render() { |
@@ -259,7 +259,7 @@ discard block |
||
| 259 | 259 | |
| 260 | 260 | /** |
| 261 | 261 | * Get the currently used Content-Security-Policy |
| 262 | - * @return EmptyContentSecurityPolicy|null Used Content-Security-Policy or null if |
|
| 262 | + * @return ContentSecurityPolicy|null Used Content-Security-Policy or null if |
|
| 263 | 263 | * none specified. |
| 264 | 264 | * @since 8.1.0 |
| 265 | 265 | */ |
@@ -134,7 +134,7 @@ |
||
| 134 | 134 | * @param RequestInterface $request |
| 135 | 135 | * @param ResponseInterface $response |
| 136 | 136 | * |
| 137 | - * @return void|bool |
|
| 137 | + * @return null|false |
|
| 138 | 138 | */ |
| 139 | 139 | public function httpPost(RequestInterface $request, ResponseInterface $response) { |
| 140 | 140 | $path = $request->getPath(); |
@@ -30,7 +30,7 @@ |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param \Sabre\DAVACL\PrincipalBackend\BackendInterface $principalBackend |
| 33 | - * @param \Sabre\CardDAV\Backend\BackendInterface $carddavBackend |
|
| 33 | + * @param CardDavBackend $carddavBackend |
|
| 34 | 34 | * @param string $principalPrefix |
| 35 | 35 | */ |
| 36 | 36 | public function __construct(\Sabre\DAVACL\PrincipalBackend\BackendInterface $principalBackend, \Sabre\CardDAV\Backend\BackendInterface $carddavBackend, $principalPrefix = 'principals') { |
@@ -770,7 +770,7 @@ |
||
| 770 | 770 | |
| 771 | 771 | /** |
| 772 | 772 | * @param Share[] $shares |
| 773 | - * @param $userId |
|
| 773 | + * @param string $userId |
|
| 774 | 774 | * @return Share[] The updates shares if no update is found for a share return the original |
| 775 | 775 | */ |
| 776 | 776 | private function resolveGroupShares($shares, $userId) { |
@@ -24,7 +24,6 @@ |
||
| 24 | 24 | namespace OC\Share20; |
| 25 | 25 | |
| 26 | 26 | use OC\Files\Cache\Cache; |
| 27 | -use OC\Files\Cache\CacheEntry; |
|
| 28 | 27 | use OCP\Files\File; |
| 29 | 28 | use OCP\Files\Folder; |
| 30 | 29 | use OCP\Share\IShareProvider; |
@@ -105,6 +105,9 @@ |
||
| 105 | 105 | return $result; |
| 106 | 106 | } |
| 107 | 107 | |
| 108 | + /** |
|
| 109 | + * @param string $value |
|
| 110 | + */ |
|
| 108 | 111 | private function getServersConfig($value) { |
| 109 | 112 | $regex = '/' . $value . '$/S'; |
| 110 | 113 | |
@@ -90,7 +90,7 @@ |
||
| 90 | 90 | } |
| 91 | 91 | |
| 92 | 92 | /** |
| 93 | - * @param \Doctrine\DBAL\Connection $connection |
|
| 93 | + * @param IDBConnection $connection |
|
| 94 | 94 | * @return string[] |
| 95 | 95 | */ |
| 96 | 96 | protected function getAllNonUTF8BinTables($connection) { |