@@ -30,7 +30,6 @@ |
||
| 30 | 30 | private $publicURLs; |
| 31 | 31 | |
| 32 | 32 | /** |
| 33 | - * @param string[] $publicURLs |
|
| 34 | 33 | */ |
| 35 | 34 | public function __construct() { |
| 36 | 35 | $this->publicURLs = [ |
@@ -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 | /** |
@@ -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 = []; |
@@ -111,6 +111,9 @@ |
||
| 111 | 111 | return true; |
| 112 | 112 | } |
| 113 | 113 | |
| 114 | + /** |
|
| 115 | + * @param string[] $info |
|
| 116 | + */ |
|
| 114 | 117 | public function getFileChunking($info) { |
| 115 | 118 | // FIXME: need a factory for better mocking support |
| 116 | 119 | return new \OC_FileChunking($info); |
@@ -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); |
@@ -173,7 +173,7 @@ |
||
| 173 | 173 | * If an SQLLogger is configured, the execution is logged. |
| 174 | 174 | * |
| 175 | 175 | * @param string $query The SQL query to execute. |
| 176 | - * @param array $params The parameters to bind to the query, if any. |
|
| 176 | + * @param string[] $params The parameters to bind to the query, if any. |
|
| 177 | 177 | * @param array $types The types the previous parameters are in. |
| 178 | 178 | * @param \Doctrine\DBAL\Cache\QueryCacheProfile|null $qcp The query cache profile, optional. |
| 179 | 179 | * |