@@ -206,7 +206,7 @@ |
||
| 206 | 206 | } |
| 207 | 207 | |
| 208 | 208 | /** |
| 209 | - * @param $fileId |
|
| 209 | + * @param integer $fileId |
|
| 210 | 210 | * @return array |
| 211 | 211 | * @throws \OCP\Files\NotFoundException |
| 212 | 212 | */ |
@@ -24,14 +24,11 @@ |
||
| 24 | 24 | |
| 25 | 25 | namespace OC\Files\Config; |
| 26 | 26 | |
| 27 | -use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
|
| 28 | -use OC\Files\Filesystem; |
|
| 29 | 27 | use OCA\Files_Sharing\SharedMount; |
| 30 | 28 | use OCP\DB\QueryBuilder\IQueryBuilder; |
| 31 | 29 | use OCP\Files\Config\ICachedMountInfo; |
| 32 | 30 | use OCP\Files\Config\IUserMountCache; |
| 33 | 31 | use OCP\Files\Mount\IMountPoint; |
| 34 | -use OCP\Files\Node; |
|
| 35 | 32 | use OCP\Files\NotFoundException; |
| 36 | 33 | use OCP\ICache; |
| 37 | 34 | use OCP\IDBConnection; |
@@ -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; |