Completed
Push — master ( d60977...1e7efd )
by Robin
02:37
created
src/XML/QueryDiscoverResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 	 *
34 34
 	 * @param string $href
35 35
 	 * @param BasicSearchSchema|null $schema
36
-	 * @param null|int|string $httpStatus
36
+	 * @param integer $httpStatus
37 37
 	 */
38 38
 	function __construct($href, BasicSearchSchema $schema = null, $httpStatus = null) {
39 39
 		parent::__construct($href, [], $httpStatus);
Please login to merge, or discard this patch.
src/XML/Scope.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
 
53 53
 	/**
54 54
 	 * @param string $href
55
-	 * @param int|string $depth
55
+	 * @param integer $depth
56 56
 	 * @param string|null $path
57 57
 	 */
58 58
 	public function __construct($href = '', $depth = 1, $path = null) {
Please login to merge, or discard this patch.
src/DAV/SearchHandler.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,9 +87,9 @@
 block discarded – undo
87 87
 	 * If a depth of 1 is requested child elements will also be returned.
88 88
 	 *
89 89
 	 * @param SearchResult[] $results
90
-	 * @param array $propertyNames
90
+	 * @param string[] $propertyNames
91 91
 	 * @param int $depth
92
-	 * @return \Iterator
92
+	 * @return \Traversable
93 93
 	 */
94 94
 	private function getPropertiesIteratorResults($results, $propertyNames = [], $depth = 0) {
95 95
 		$propFindType = $propertyNames ? PropFind::NORMAL : PropFind::ALLPROPS;
Please login to merge, or discard this patch.
src/DAV/SearchPlugin.php 1 patch
Unused Use Statements   -12 removed lines patch added patch discarded remove patch
@@ -22,26 +22,14 @@
 block discarded – undo
22 22
 namespace SearchDAV\DAV;
23 23
 
24 24
 use Sabre\DAV\Exception\BadRequest;
25
-use Sabre\DAV\Exception\Forbidden;
26 25
 use Sabre\DAV\INode;
27
-use Sabre\DAV\Node;
28 26
 use Sabre\DAV\PropFind;
29 27
 use Sabre\DAV\Server;
30 28
 use Sabre\DAV\ServerPlugin;
31
-use Sabre\DAV\Xml\Element\Response;
32
-use Sabre\DAV\Xml\Response\MultiStatus;
33 29
 use Sabre\HTTP\RequestInterface;
34 30
 use Sabre\HTTP\ResponseInterface;
35 31
 use Sabre\Xml\ParseException;
36
-use Sabre\Xml\Writer;
37 32
 use SearchDAV\Backend\ISearchBackend;
38
-use SearchDAV\Backend\SearchPropertyDefinition;
39
-use SearchDAV\Backend\SearchResult;
40
-use SearchDAV\XML\BasicSearch;
41
-use SearchDAV\XML\BasicSearchSchema;
42
-use SearchDAV\XML\PropDesc;
43
-use SearchDAV\XML\QueryDiscoverResponse;
44
-use SearchDAV\XML\Scope;
45 33
 use SearchDAV\XML\SupportedQueryGrammar;
46 34
 
47 35
 class SearchPlugin extends ServerPlugin {
Please login to merge, or discard this patch.