@@ -22,18 +22,12 @@ |
||
22 | 22 | namespace OCA\Files_External\Command; |
23 | 23 | |
24 | 24 | use OC\Core\Command\Base; |
25 | -use OCA\Files_External\Lib\Auth\AuthMechanism; |
|
26 | 25 | use OCA\Files_External\Lib\Backend\Backend; |
27 | 26 | use OCA\Files_External\Lib\DefinitionParameter; |
28 | 27 | use OCA\Files_External\Service\BackendService; |
29 | 28 | use Symfony\Component\Console\Command\Command; |
30 | -use Symfony\Component\Console\Helper\Table; |
|
31 | -use Symfony\Component\Console\Helper\TableHelper; |
|
32 | -use Symfony\Component\Console\Input\ArrayInput; |
|
33 | 29 | use Symfony\Component\Console\Input\InputArgument; |
34 | 30 | use Symfony\Component\Console\Input\InputInterface; |
35 | -use Symfony\Component\Console\Input\InputOption; |
|
36 | -use Symfony\Component\Console\Input\Input; |
|
37 | 31 | use Symfony\Component\Console\Output\OutputInterface; |
38 | 32 | |
39 | 33 | class Backends extends Base { |
@@ -26,11 +26,8 @@ |
||
26 | 26 | use OCA\Files_external\NotFoundException; |
27 | 27 | use OCA\Files_external\Service\GlobalStoragesService; |
28 | 28 | use Symfony\Component\Console\Command\Command; |
29 | -use Symfony\Component\Console\Helper\Table; |
|
30 | -use Symfony\Component\Console\Helper\TableHelper; |
|
31 | 29 | use Symfony\Component\Console\Input\InputArgument; |
32 | 30 | use Symfony\Component\Console\Input\InputInterface; |
33 | -use Symfony\Component\Console\Input\InputOption; |
|
34 | 31 | use Symfony\Component\Console\Output\OutputInterface; |
35 | 32 | |
36 | 33 | class Config extends Base { |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -144,6 +144,9 @@ |
||
144 | 144 | return true; |
145 | 145 | } |
146 | 146 | |
147 | + /** |
|
148 | + * @param string $path |
|
149 | + */ |
|
147 | 150 | public function url_stat($path) { |
148 | 151 | if (isset(self::$data[$path])) { |
149 | 152 | $size = strlen(self::$data[$path]); |
@@ -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 | /** |
@@ -558,7 +558,7 @@ |
||
558 | 558 | /** |
559 | 559 | * update permissions in database |
560 | 560 | * |
561 | - * @param IShare $share |
|
561 | + * @param \OC\Share20\Share $share |
|
562 | 562 | * @param int $permissions |
563 | 563 | */ |
564 | 564 | protected function updatePermissionsInDatabase(IShare $share, $permissions) { |
@@ -30,7 +30,6 @@ |
||
30 | 30 | use OCP\SystemTag\TagAlreadyExistsException; |
31 | 31 | use OCP\SystemTag\TagNotFoundException; |
32 | 32 | use Symfony\Component\EventDispatcher\EventDispatcherInterface; |
33 | -use OCP\IUserManager; |
|
34 | 33 | use OCP\IGroupManager; |
35 | 34 | use OCP\SystemTag\ISystemTag; |
36 | 35 | use OCP\IUser; |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * StorageTimeoutException constructor. |
31 | 31 | * |
32 | 32 | * @param string $message |
33 | - * @param int $code |
|
34 | 33 | * @param \Exception $previous |
35 | 34 | * @since 9.0.0 |
36 | 35 | */ |
@@ -30,7 +30,6 @@ |
||
30 | 30 | * StorageTimeoutException constructor. |
31 | 31 | * |
32 | 32 | * @param string $message |
33 | - * @param int $code |
|
34 | 33 | * @param \Exception $previous |
35 | 34 | * @since 9.0.0 |
36 | 35 | */ |