Completed
Push — master ( d60977...1e7efd )
by Robin
02:37
created
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/DiscoverHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 		/** @var BasicSearch $query */
62 62
 		$query = $xml['{DAV:}basicsearch'];
63 63
 		$scopes = $query->from;
64
-		$results = array_map(function (Scope $scope) {
64
+		$results = array_map(function(Scope $scope) {
65 65
 			$scope->path = $this->pathHelper->getPathFromUri($scope->href);
66 66
 			if ($this->searchBackend->isValidScope($scope->href, $scope->depth, $scope->path)) {
67 67
 				$searchProperties = $this->searchBackend->getPropertyDefinitionsForScope($scope->href, $scope->path);
Please login to merge, or discard this patch.