@@ -27,7 +27,6 @@ |
||
| 27 | 27 | use OCP\IUser; |
| 28 | 28 | use OCP\ILogger; |
| 29 | 29 | use OCP\Files\Folder; |
| 30 | - |
|
| 31 | 30 | use OC\Share20\Exception\ShareNotFound; |
| 32 | 31 | |
| 33 | 32 | /** |
@@ -655,7 +655,7 @@ discard block |
||
| 655 | 655 | * if the size limit for the trash bin is reached, we delete the oldest |
| 656 | 656 | * files in the trash bin until we meet the limit again |
| 657 | 657 | * |
| 658 | - * @param array $files |
|
| 658 | + * @param \OCP\Files\FileInfo[] $files |
|
| 659 | 659 | * @param string $user |
| 660 | 660 | * @param int $availableSpace available disc space |
| 661 | 661 | * @return int size of deleted files |
@@ -683,7 +683,7 @@ discard block |
||
| 683 | 683 | /** |
| 684 | 684 | * delete files older then max storage time |
| 685 | 685 | * |
| 686 | - * @param array $files list of files sorted by mtime |
|
| 686 | + * @param \OCP\Files\FileInfo[] $files list of files sorted by mtime |
|
| 687 | 687 | * @param string $user |
| 688 | 688 | * @return integer[] size of deleted files and number of deleted files |
| 689 | 689 | */ |
@@ -23,7 +23,6 @@ |
||
| 23 | 23 | namespace OCA\DAV; |
| 24 | 24 | |
| 25 | 25 | use OCA\DAV\CalDAV\Schedule\IMipPlugin; |
| 26 | -use OCA\DAV\Connector\FedAuth; |
|
| 27 | 26 | use OCA\DAV\Connector\Sabre\Auth; |
| 28 | 27 | use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; |
| 29 | 28 | use OCA\DAV\Files\CustomPropertiesBackend; |
@@ -31,13 +31,10 @@ |
||
| 31 | 31 | use OCP\IUserManager; |
| 32 | 32 | use OCP\IUserSession; |
| 33 | 33 | use Symfony\Component\Console\Command\Command; |
| 34 | -use Symfony\Component\Console\Helper\Table; |
|
| 35 | -use Symfony\Component\Console\Helper\TableHelper; |
|
| 36 | 34 | use Symfony\Component\Console\Input\ArrayInput; |
| 37 | 35 | use Symfony\Component\Console\Input\InputArgument; |
| 38 | 36 | use Symfony\Component\Console\Input\InputInterface; |
| 39 | 37 | use Symfony\Component\Console\Input\InputOption; |
| 40 | -use Symfony\Component\Console\Input\Input; |
|
| 41 | 38 | use Symfony\Component\Console\Output\OutputInterface; |
| 42 | 39 | |
| 43 | 40 | class Import extends Base { |
@@ -227,7 +227,7 @@ |
||
| 227 | 227 | } |
| 228 | 228 | |
| 229 | 229 | /** |
| 230 | - * @return array|null |
|
| 230 | + * @return string |
|
| 231 | 231 | */ |
| 232 | 232 | public function getLocalSystemAddressBook() { |
| 233 | 233 | if (is_null($this->localSystemAddressBook)) { |
@@ -106,7 +106,7 @@ |
||
| 106 | 106 | /** |
| 107 | 107 | * Returns an array with all the child nodes |
| 108 | 108 | * |
| 109 | - * @return \Sabre\DAV\INode[] |
|
| 109 | + * @return CommentNode[] |
|
| 110 | 110 | */ |
| 111 | 111 | function getChildren() { |
| 112 | 112 | return $this->findChildren(); |
@@ -145,7 +145,7 @@ |
||
| 145 | 145 | /** |
| 146 | 146 | * Returns an array with all the child nodes |
| 147 | 147 | * |
| 148 | - * @return \Sabre\DAV\INode[] |
|
| 148 | + * @return EntityTypeCollection[] |
|
| 149 | 149 | */ |
| 150 | 150 | function getChildren() { |
| 151 | 151 | $this->initCollections(); |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace OCA\Federation\Command; |
| 4 | 4 | |
| 5 | -use OCA\Federation\DbHandler; |
|
| 6 | 5 | use Symfony\Component\Console\Command\Command; |
| 7 | 6 | use Symfony\Component\Console\Helper\ProgressBar; |
| 8 | 7 | use Symfony\Component\Console\Input\InputInterface; |
@@ -3,10 +3,6 @@ |
||
| 3 | 3 | namespace OCA\Federation; |
| 4 | 4 | |
| 5 | 5 | use OCA\DAV\CardDAV\SyncService; |
| 6 | -use Symfony\Component\Console\Command\Command; |
|
| 7 | -use Symfony\Component\Console\Helper\ProgressBar; |
|
| 8 | -use Symfony\Component\Console\Input\InputInterface; |
|
| 9 | -use Symfony\Component\Console\Output\OutputInterface; |
|
| 10 | 6 | |
| 11 | 7 | class SyncFederationAddressBooks { |
| 12 | 8 | |