@@ -524,7 +524,7 @@ |
||
524 | 524 | * @param array $input The array to work on |
525 | 525 | * @param int $case Either MB_CASE_UPPER or MB_CASE_LOWER (default) |
526 | 526 | * @param string $encoding The encoding parameter is the character encoding. Defaults to UTF-8 |
527 | - * @return array |
|
527 | + * @return string |
|
528 | 528 | * @since 4.5.0 |
529 | 529 | */ |
530 | 530 | public static function mb_array_change_key_case($input, $case = MB_CASE_LOWER, $encoding = 'UTF-8') { |
@@ -28,6 +28,9 @@ |
||
28 | 28 | |
29 | 29 | protected $mounts = []; |
30 | 30 | |
31 | + /** |
|
32 | + * @param string $mountPoint |
|
33 | + */ |
|
31 | 34 | protected function registerMount($userId, $storage, $mountPoint, $arguments = null) { |
32 | 35 | if (!isset($this->mounts[$userId])) { |
33 | 36 | $this->mounts[$userId] = []; |
@@ -777,7 +777,7 @@ |
||
777 | 777 | /** |
778 | 778 | * check if path points to a files version |
779 | 779 | * |
780 | - * @param $path |
|
780 | + * @param string $path |
|
781 | 781 | * @return bool |
782 | 782 | */ |
783 | 783 | protected function isVersion($path) { |
@@ -78,7 +78,7 @@ |
||
78 | 78 | * the next element. |
79 | 79 | * |
80 | 80 | * @param Reader $reader |
81 | - * @return mixed |
|
81 | + * @return TagList |
|
82 | 82 | */ |
83 | 83 | static function xmlDeserialize(Reader $reader) { |
84 | 84 | $tags = []; |
@@ -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 | /** |
@@ -777,7 +777,7 @@ |
||
777 | 777 | /** |
778 | 778 | * check if path points to a files version |
779 | 779 | * |
780 | - * @param $path |
|
780 | + * @param string $path |
|
781 | 781 | * @return bool |
782 | 782 | */ |
783 | 783 | protected function isVersion($path) { |
@@ -32,7 +32,6 @@ |
||
32 | 32 | use OCA\Encryption\Crypto\Crypt; |
33 | 33 | use OCP\Encryption\Keys\IStorage; |
34 | 34 | use OCP\IConfig; |
35 | -use OCP\IDBConnection; |
|
36 | 35 | use OCP\ILogger; |
37 | 36 | use OCP\IUserSession; |
38 | 37 |
@@ -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 { |
@@ -136,7 +136,7 @@ |
||
136 | 136 | * Returns the list of members for a group-principal |
137 | 137 | * |
138 | 138 | * @param string $principal |
139 | - * @return array |
|
139 | + * @return string[] |
|
140 | 140 | */ |
141 | 141 | function getGroupMemberSet($principal) { |
142 | 142 | // TODO: for now the group principal has only one member, the user itself |
@@ -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 | */ |