Completed
Push — master ( 282bde...aa91e9 )
by Robin
06:40 queued 03:36
created
src/DAV/SearchHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 * @return Query
101 101
 	 */
102 102
 	private function getQueryForXML(BasicSearch $xml, array $allProps) {
103
-		$orderBy = array_map(function (\SearchDAV\XML\Order $order) use ($allProps) {
103
+		$orderBy = array_map(function(\SearchDAV\XML\Order $order) use ($allProps) {
104 104
 			if (!isset($allProps[$order->property])) {
105 105
 				throw new BadRequest('requested order by property is not a valid property for this scope');
106 106
 			}
@@ -110,7 +110,7 @@  discard block
 block discarded – undo
110 110
 			}
111 111
 			return new Order($prop, $order->order);
112 112
 		}, $xml->orderBy);
113
-		$select = array_map(function ($propName) use ($allProps) {
113
+		$select = array_map(function($propName) use ($allProps) {
114 114
 			if (!isset($allProps[$propName])) {
115 115
 				return;
116 116
 			}
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
 	}
129 129
 
130 130
 	private function transformOperator(\SearchDAV\XML\Operator $operator, array $allProps) {
131
-		$arguments = array_map(function ($argument) use ($allProps) {
131
+		$arguments = array_map(function($argument) use ($allProps) {
132 132
 			if (is_string($argument)) {
133 133
 				if (!isset($allProps[$argument])) {
134 134
 					throw new BadRequest('requested search property is not a valid property for this scope');
Please login to merge, or discard this patch.