@@ -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) { |
@@ -61,7 +61,7 @@ |
||
| 61 | 61 | * The deserialize method is called during xml parsing. |
| 62 | 62 | * |
| 63 | 63 | * @param Reader $reader |
| 64 | - * @return mixed |
|
| 64 | + * @return null|ShareTypeList |
|
| 65 | 65 | */ |
| 66 | 66 | static function xmlDeserialize(Reader $reader) { |
| 67 | 67 | $shareTypes = []; |
@@ -80,7 +80,7 @@ |
||
| 80 | 80 | * the next element. |
| 81 | 81 | * |
| 82 | 82 | * @param Reader $reader |
| 83 | - * @return mixed |
|
| 83 | + * @return null|TagList |
|
| 84 | 84 | */ |
| 85 | 85 | static function xmlDeserialize(Reader $reader) { |
| 86 | 86 | $tags = []; |
@@ -105,7 +105,7 @@ discard block |
||
| 105 | 105 | * @param ITagManager $fileTagger manager for private tags |
| 106 | 106 | * @param IUserSession $userSession |
| 107 | 107 | * @param IGroupManager $groupManager |
| 108 | - * @param Folder $userfolder |
|
| 108 | + * @param Folder $userFolder |
|
| 109 | 109 | */ |
| 110 | 110 | public function __construct(Tree $tree, |
| 111 | 111 | View $view, |
@@ -151,7 +151,7 @@ discard block |
||
| 151 | 151 | * This will be used in the {DAV:}supported-report-set property. |
| 152 | 152 | * |
| 153 | 153 | * @param string $uri |
| 154 | - * @return array |
|
| 154 | + * @return string[] |
|
| 155 | 155 | */ |
| 156 | 156 | public function getSupportedReportSet($uri) { |
| 157 | 157 | return [self::REPORT_NAME]; |
@@ -163,7 +163,7 @@ discard block |
||
| 163 | 163 | * @param string $reportName |
| 164 | 164 | * @param [] $report |
| 165 | 165 | * @param string $uri |
| 166 | - * @return bool |
|
| 166 | + * @return null|false |
|
| 167 | 167 | * @throws NotFound |
| 168 | 168 | * @throws ReportNotSupported |
| 169 | 169 | */ |
@@ -336,6 +336,7 @@ discard block |
||
| 336 | 336 | * with a leading slash but no trailing slash |
| 337 | 337 | * @param string[] $requestedProps requested properties |
| 338 | 338 | * @param Node[] nodes nodes for which to fetch and prepare responses |
| 339 | + * @param Node[] $nodes |
|
| 339 | 340 | * @return Response[] |
| 340 | 341 | */ |
| 341 | 342 | public function prepareResponses($filesUri, $requestedProps, $nodes) { |
@@ -36,7 +36,6 @@ |
||
| 36 | 36 | use OCA\Files_Sharing\ISharedStorage; |
| 37 | 37 | use OCP\Constants; |
| 38 | 38 | use OCP\Files\Cache\ICacheEntry; |
| 39 | -use OCP\Files\Storage\IStorage; |
|
| 40 | 39 | use OCP\Lock\ILockingProvider; |
| 41 | 40 | |
| 42 | 41 | /** |
@@ -23,7 +23,6 @@ discard block |
||
| 23 | 23 | */ |
| 24 | 24 | namespace OCA\Files_Sharing\Controller; |
| 25 | 25 | |
| 26 | -use OC\Share20\Exception\ProviderException; |
|
| 27 | 26 | use OCP\AppFramework\Http\DataResponse; |
| 28 | 27 | use OCP\AppFramework\OCS\OCSBadRequestException; |
| 29 | 28 | use OCP\AppFramework\OCS\OCSException; |
@@ -37,7 +36,6 @@ discard block |
||
| 37 | 36 | use OCP\IUserManager; |
| 38 | 37 | use OCP\IRequest; |
| 39 | 38 | use OCP\IURLGenerator; |
| 40 | -use OCP\IUser; |
|
| 41 | 39 | use OCP\Files\IRootFolder; |
| 42 | 40 | use OCP\Lock\LockedException; |
| 43 | 41 | use OCP\Share\IManager; |