@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace OCA\DAV\CalDAV\Publishing\Xml; |
4 | 4 | |
5 | -use OCA\DAV\CalDAV\Publishing\PublishPlugin as Plugin; |
|
6 | 5 | use Sabre\Xml\Writer; |
7 | 6 | use Sabre\Xml\XmlSerializable; |
8 | 7 |
@@ -25,7 +25,6 @@ |
||
25 | 25 | use OC\Core\Command\Base; |
26 | 26 | use OC\User\NoUserException; |
27 | 27 | use OCA\Files_External\Lib\StorageConfig; |
28 | -use OCP\Files\External\IStorageConfig; |
|
29 | 28 | use OCA\Files_External\Service\BackendService; |
30 | 29 | use OCA\Files_External\Service\GlobalStoragesService; |
31 | 30 | use OCA\Files_External\Service\ImportLegacyStoragesService; |
@@ -22,11 +22,9 @@ |
||
22 | 22 | namespace OCA\Files_External\Lib\Backend; |
23 | 23 | |
24 | 24 | use OCP\IL10N; |
25 | -use OCP\Files\External\Auth\AuthMechanism; |
|
26 | 25 | use OCP\Files\External\Backend\Backend; |
27 | 26 | use OCP\Files\External\DefinitionParameter; |
28 | 27 | use OCA\Files_External\Lib\LegacyDependencyCheckPolyfill; |
29 | - |
|
30 | 28 | use OCA\Files_External\Lib\Auth\AmazonS3\AccessKey; |
31 | 29 | |
32 | 30 | class AmazonS3 extends Backend { |
@@ -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 | /** |
@@ -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 | /** |
@@ -207,7 +207,7 @@ |
||
207 | 207 | * @param array $groupSharesById |
208 | 208 | * @param array $subShares |
209 | 209 | * |
210 | - * @return true if the share is valid, false if it needs repair |
|
210 | + * @return boolean if the share is valid, false if it needs repair |
|
211 | 211 | */ |
212 | 212 | private function isThisShareValid($groupSharesById, $subShares) { |
213 | 213 | $foundTargets = []; |
@@ -25,8 +25,6 @@ |
||
25 | 25 | |
26 | 26 | use OC\Hooks\BasicEmitter; |
27 | 27 | use PhpParser\Lexer; |
28 | -use PhpParser\Node; |
|
29 | -use PhpParser\Node\Name; |
|
30 | 28 | use PhpParser\NodeTraverser; |
31 | 29 | use PhpParser\Parser; |
32 | 30 | use RecursiveCallbackFilterIterator; |
@@ -71,7 +71,7 @@ |
||
71 | 71 | * Checks if output formatter has style with specified name. |
72 | 72 | * |
73 | 73 | * @param string $name |
74 | - * @return bool |
|
74 | + * @return boolean|null |
|
75 | 75 | */ |
76 | 76 | public function hasStyle($name) { |
77 | 77 | $this->formatter->hasStyle($name); |
@@ -43,7 +43,7 @@ |
||
43 | 43 | |
44 | 44 | /** |
45 | 45 | * @param string $table name |
46 | - * @return int id of last insert statement |
|
46 | + * @return string id of last insert statement |
|
47 | 47 | */ |
48 | 48 | public function lastInsertId($table) { |
49 | 49 | return $this->conn->realLastInsertId($table); |