Completed
Push — master ( d60977...1e7efd )
by Robin
02:37
created
src/DAV/QueryParser.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -43,18 +43,18 @@
 block discarded – undo
43 43
 			'{DAV:}searchrequest' => Element\KeyValue::class,
44 44
 			'{DAV:}query-schema-discovery' => Element\KeyValue::class,
45 45
 			'{DAV:}basicsearch' => BasicSearch::class,
46
-			'{DAV:}select' => function (Reader $reader) {
46
+			'{DAV:}select' => function(Reader $reader) {
47 47
 				return \Sabre\Xml\Deserializer\keyValue($reader, '{DAV:}scope')['{DAV:}prop'];
48 48
 			},
49
-			'{DAV:}from' => function (Reader $reader) {
49
+			'{DAV:}from' => function(Reader $reader) {
50 50
 				return \Sabre\Xml\Deserializer\repeatingElements($reader, '{DAV:}scope');
51 51
 			},
52
-			'{DAV:}orderby' => function (Reader $reader) {
52
+			'{DAV:}orderby' => function(Reader $reader) {
53 53
 				return \Sabre\Xml\Deserializer\repeatingElements($reader, '{DAV:}order');
54 54
 			},
55 55
 			'{DAV:}scope' => Scope::class,
56
-			'{DAV:}where' => function (Reader $reader) {
57
-				$operators = array_map(function ($element) {
56
+			'{DAV:}where' => function(Reader $reader) {
57
+				$operators = array_map(function($element) {
58 58
 					return $element['value'];
59 59
 				}, $reader->parseGetElements());
60 60
 				return (isset($operators[0])) ? $operators[0] : null;
Please login to merge, or discard this patch.
src/XML/PropDesc.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
 		if ($this->selectable) {
49 49
 			$data['{DAV:}selectable'] = null;
50 50
 		}
51
-		$writer->write(array_map(function ($propName) {
51
+		$writer->write(array_map(function($propName) {
52 52
 			return [
53 53
 				'name' => '{DAV:}prop',
54 54
 				'value' => $propName
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.