@@ -60,7 +60,7 @@ |
||
60 | 60 | * The deserialize method is called during xml parsing. |
61 | 61 | * |
62 | 62 | * @param Reader $reader |
63 | - * @return mixed |
|
63 | + * @return ShareTypeList |
|
64 | 64 | */ |
65 | 65 | static function xmlDeserialize(Reader $reader) { |
66 | 66 | $shareTypes = []; |
@@ -79,7 +79,7 @@ |
||
79 | 79 | * the next element. |
80 | 80 | * |
81 | 81 | * @param Reader $reader |
82 | - * @return mixed |
|
82 | + * @return TagList |
|
83 | 83 | */ |
84 | 84 | static function xmlDeserialize(Reader $reader) { |
85 | 85 | $tags = []; |
@@ -85,7 +85,7 @@ |
||
85 | 85 | private $tree; |
86 | 86 | |
87 | 87 | /** |
88 | - * @param \Sabre\DAV\Tree $tree tree |
|
88 | + * @param ObjectTree $tree tree |
|
89 | 89 | * @param \OCP\ITagManager $tagManager tag manager |
90 | 90 | */ |
91 | 91 | public function __construct(\Sabre\DAV\Tree $tree, \OCP\ITagManager $tagManager) { |
@@ -24,7 +24,6 @@ |
||
24 | 24 | use OCA\DAV\Connector\Sabre\Auth; |
25 | 25 | use OCA\DAV\DAV\Sharing\Xml\Invite; |
26 | 26 | use OCP\IRequest; |
27 | -use Sabre\DAV\Exception\BadRequest; |
|
28 | 27 | use Sabre\DAV\Exception\NotFound; |
29 | 28 | use Sabre\DAV\INode; |
30 | 29 | use Sabre\DAV\PropFind; |
@@ -176,7 +176,7 @@ |
||
176 | 176 | * Returns an associative array with all translations |
177 | 177 | * |
178 | 178 | * Called by \OC_L10N_String |
179 | - * @return array |
|
179 | + * @return string[] |
|
180 | 180 | */ |
181 | 181 | public function getTranslations() { |
182 | 182 | return $this->translations; |
@@ -87,8 +87,6 @@ |
||
87 | 87 | |
88 | 88 | /** |
89 | 89 | * @codeCoverageIgnore |
90 | - * @param \Exception $ex |
|
91 | - * @param int $httpCode |
|
92 | 90 | * @return bool|string |
93 | 91 | */ |
94 | 92 | public function generateBody(\Exception $exception) { |
@@ -22,10 +22,6 @@ |
||
22 | 22 | namespace OCA\Dav\Migration; |
23 | 23 | |
24 | 24 | use OCP\IDBConnection; |
25 | -use Symfony\Component\Console\Command\Command; |
|
26 | -use Symfony\Component\Console\Input\InputArgument; |
|
27 | -use Symfony\Component\Console\Input\InputInterface; |
|
28 | -use Symfony\Component\Console\Output\OutputInterface; |
|
29 | 25 | |
30 | 26 | class AddressBookAdapter { |
31 | 27 |
@@ -24,7 +24,6 @@ |
||
24 | 24 | namespace OCA\DAV; |
25 | 25 | |
26 | 26 | use OCA\DAV\CalDAV\Schedule\IMipPlugin; |
27 | -use OCA\DAV\Connector\FedAuth; |
|
28 | 27 | use OCA\DAV\Connector\Sabre\Auth; |
29 | 28 | use OCA\DAV\Connector\Sabre\BlockLegacyClientPlugin; |
30 | 29 | use OCA\DAV\Connector\Sabre\DavAclPlugin; |
@@ -23,7 +23,6 @@ |
||
23 | 23 | |
24 | 24 | use OCP\Files\IMimeTypeLoader; |
25 | 25 | use OCP\IDBConnection; |
26 | - |
|
27 | 26 | use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
28 | 27 | |
29 | 28 | /** |