Completed
Pull Request — master (#31873)
by Juan Pablo
29:12 queued 16:33
created
apps/dav/lib/Connector/Sabre/FilesSearchReportPlugin.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,6 @@
 block discarded – undo
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
Please login to merge, or discard this patch.
apps/dav/lib/Files/Xml/SearchRequest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.