@@ -856,7 +856,7 @@ |
||
856 | 856 | * Get the certificate manager for the user |
857 | 857 | * |
858 | 858 | * @param string $userId (optional) if not specified the current loggedin user is used |
859 | - * @return \OCP\ICertificateManager | null if $uid is null and no user is logged in |
|
859 | + * @return null|CertificateManager | null if $uid is null and no user is logged in |
|
860 | 860 | */ |
861 | 861 | public function getCertificateManager($userId = null) { |
862 | 862 | if (is_null($userId)) { |
@@ -100,7 +100,7 @@ discard block |
||
100 | 100 | |
101 | 101 | /** |
102 | 102 | * @param string $data |
103 | - * @return int |
|
103 | + * @return boolean |
|
104 | 104 | */ |
105 | 105 | public function stream_write($data) { |
106 | 106 | return false; |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | } |
207 | 207 | |
208 | 208 | /** |
209 | - * @param $pos |
|
209 | + * @param integer $pos |
|
210 | 210 | * @return IFile | null |
211 | 211 | */ |
212 | 212 | private function getNodeForPosition($pos) { |
@@ -60,7 +60,7 @@ |
||
60 | 60 | * The deserialize method is called during xml parsing. |
61 | 61 | * |
62 | 62 | * @param Reader $reader |
63 | - * @return mixed |
|
63 | + * @return ShareTypeList |
|
64 | 64 | */ |
65 | 65 | static function xmlDeserialize(Reader $reader) { |
66 | 66 | $shareTypes = []; |
@@ -24,7 +24,6 @@ |
||
24 | 24 | |
25 | 25 | namespace OCA\Files\Service; |
26 | 26 | |
27 | -use OC\Files\FileInfo; |
|
28 | 27 | use OCP\Files\Node; |
29 | 28 | |
30 | 29 | /** |
@@ -25,7 +25,6 @@ discard block |
||
25 | 25 | use OCP\IUserManager; |
26 | 26 | use OCP\Share\IManager; |
27 | 27 | use OCP\Share\IProviderFactory; |
28 | -use OC\Share20\Exception\BackendError; |
|
29 | 28 | use OCP\IConfig; |
30 | 29 | use OCP\IL10N; |
31 | 30 | use OCP\ILogger; |
@@ -35,7 +34,6 @@ discard block |
||
35 | 34 | use OCP\IGroupManager; |
36 | 35 | use OCP\Files\File; |
37 | 36 | use OCP\Files\Folder; |
38 | - |
|
39 | 37 | use OCP\Share\Exceptions\ShareNotFound; |
40 | 38 | use OCP\Share\Exceptions\GenericShareException; |
41 | 39 |
@@ -86,8 +86,6 @@ |
||
86 | 86 | |
87 | 87 | /** |
88 | 88 | * @codeCoverageIgnore |
89 | - * @param \Exception $ex |
|
90 | - * @param int $httpCode |
|
91 | 89 | * @return bool|string |
92 | 90 | */ |
93 | 91 | public function generateBody(\Exception $exception) { |
@@ -28,7 +28,6 @@ |
||
28 | 28 | use Symfony\Component\Console\Command\Command; |
29 | 29 | use Symfony\Component\Console\Helper\Table; |
30 | 30 | use Symfony\Component\Console\Input\InputInterface; |
31 | -use Symfony\Component\Console\Input\InputOption; |
|
32 | 31 | use Symfony\Component\Console\Output\OutputInterface; |
33 | 32 | |
34 | 33 | class ListCertificates extends Base { |
@@ -131,7 +131,7 @@ |
||
131 | 131 | } |
132 | 132 | |
133 | 133 | /** |
134 | - * @param $message |
|
134 | + * @param string $message |
|
135 | 135 | * @param array $additional |
136 | 136 | * @return array |
137 | 137 | */ |
@@ -97,7 +97,7 @@ |
||
97 | 97 | } |
98 | 98 | |
99 | 99 | /** |
100 | - * @param string|int $category |
|
100 | + * @param string $category |
|
101 | 101 | * @return int |
102 | 102 | */ |
103 | 103 | protected function getCategory($category) { |