@@ -864,7 +864,7 @@ discard block |
||
864 | 864 | * @param integer $filterType int, for which use case the filter shall be created |
865 | 865 | * can be any of self::LFILTER_USER_LIST, self::LFILTER_LOGIN or |
866 | 866 | * self::LFILTER_GROUP_LIST |
867 | - * @return string|false string with the filter on success, false otherwise |
|
867 | + * @return string string with the filter on success, false otherwise |
|
868 | 868 | * @throws \Exception |
869 | 869 | */ |
870 | 870 | private function composeLdapFilter($filterType) { |
@@ -1107,7 +1107,7 @@ discard block |
||
1107 | 1107 | } |
1108 | 1108 | |
1109 | 1109 | /** |
1110 | - * @param array $reqs |
|
1110 | + * @param string[] $reqs |
|
1111 | 1111 | * @return bool |
1112 | 1112 | */ |
1113 | 1113 | private function checkRequirements($reqs) { |
@@ -306,7 +306,7 @@ discard block |
||
306 | 306 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
307 | 307 | * </code> |
308 | 308 | * |
309 | - * @param mixed $select The selection expressions. |
|
309 | + * @param string $select The selection expressions. |
|
310 | 310 | * |
311 | 311 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
312 | 312 | */ |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | * ->leftJoin('u', 'phonenumbers', 'p', 'u.id = p.user_id'); |
331 | 331 | * </code> |
332 | 332 | * |
333 | - * @param mixed $select The selection expressions. |
|
333 | + * @param QueryFunction $select The selection expressions. |
|
334 | 334 | * @param string $alias The column alias used in the constructed query. |
335 | 335 | * |
336 | 336 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
@@ -652,7 +652,7 @@ discard block |
||
652 | 652 | * ->where($or); |
653 | 653 | * </code> |
654 | 654 | * |
655 | - * @param mixed $predicates The restriction predicates. |
|
655 | + * @param CompositeExpression $predicates The restriction predicates. |
|
656 | 656 | * |
657 | 657 | * @return \OCP\DB\QueryBuilder\IQueryBuilder This QueryBuilder instance. |
658 | 658 | */ |
@@ -1034,7 +1034,7 @@ discard block |
||
1034 | 1034 | * |
1035 | 1035 | * @param string $name |
1036 | 1036 | * |
1037 | - * @return IParameter |
|
1037 | + * @return string |
|
1038 | 1038 | */ |
1039 | 1039 | public function createParameter($name) { |
1040 | 1040 | return new Parameter(':' . $name); |
@@ -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 | /** |
@@ -327,7 +327,7 @@ |
||
327 | 327 | * split user and remote from federated cloud id |
328 | 328 | * |
329 | 329 | * @param string $address federated share address |
330 | - * @return array [user, remoteURL] |
|
330 | + * @return string[] [user, remoteURL] |
|
331 | 331 | * @throws \Exception |
332 | 332 | */ |
333 | 333 | public function splitUserRemote($address) { |
@@ -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] = []; |
@@ -128,7 +128,6 @@ |
||
128 | 128 | /** |
129 | 129 | * Get $n re-shares from the database |
130 | 130 | * |
131 | - * @param int $n The max number of shares to fetch |
|
132 | 131 | * @return \Doctrine\DBAL\Driver\Statement |
133 | 132 | */ |
134 | 133 | private function getReShares() { |