@@ -704,7 +704,7 @@ |
||
| 704 | 704 | } |
| 705 | 705 | |
| 706 | 706 | /** |
| 707 | - * @param $internalPath |
|
| 707 | + * @param string $internalPath |
|
| 708 | 708 | * @return array |
| 709 | 709 | */ |
| 710 | 710 | protected function convertInternalPathToGlobalPath($internalPath) { |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | * This will be used in the {DAV:}supported-report-set property. |
| 76 | 76 | * |
| 77 | 77 | * @param string $uri |
| 78 | - * @return array |
|
| 78 | + * @return string[] |
|
| 79 | 79 | */ |
| 80 | 80 | public function getSupportedReportSet($uri) { |
| 81 | 81 | return [self::REPORT_NAME]; |
@@ -87,7 +87,7 @@ discard block |
||
| 87 | 87 | * @param string $reportName |
| 88 | 88 | * @param mixed $report |
| 89 | 89 | * @param string $uri |
| 90 | - * @return bool |
|
| 90 | + * @return null|false |
|
| 91 | 91 | * @throws BadRequest |
| 92 | 92 | * @throws NotImplemented |
| 93 | 93 | * @internal param $ [] $report |
@@ -28,7 +28,6 @@ |
||
| 28 | 28 | use Sabre\DAV\Exception\NotImplemented; |
| 29 | 29 | use OCA\DAV\Files\Xml\SearchRequest; |
| 30 | 30 | use OCP\ISearch; |
| 31 | -use OC\Search\Result\File as FileResult; |
|
| 32 | 31 | |
| 33 | 32 | class FilesSearchReportPlugin extends ServerPlugin { |
| 34 | 33 | // namespace |
@@ -255,7 +255,7 @@ |
||
| 255 | 255 | } |
| 256 | 256 | |
| 257 | 257 | /** |
| 258 | - * @param $user |
|
| 258 | + * @param \OCP\IUser|null $user |
|
| 259 | 259 | * @throws ServiceUnavailable |
| 260 | 260 | */ |
| 261 | 261 | private function checkAccountModule($user) { |