@@ -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 |
@@ -21,7 +21,6 @@ |
||
| 21 | 21 | |
| 22 | 22 | namespace OCA\DAV\Files\Xml; |
| 23 | 23 | |
| 24 | -use Sabre\Xml\Element\Base; |
|
| 25 | 24 | use Sabre\Xml\Element\KeyValue; |
| 26 | 25 | use Sabre\Xml\Reader; |
| 27 | 26 | use Sabre\Xml\XmlDeserializable; |