Completed
Push — master ( a469e2...7174c0 )
by Robin
08:53
created
src/DAV/SearchHandler.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@  discard block
 block discarded – undo
97 97
 	 * @throws BadRequest
98 98
 	 */
99 99
 	private function getQueryForXML(BasicSearch $xml, array $allProps) {
100
-		$orderBy = array_map(function (\SearchDAV\XML\Order $order) use ($allProps) {
100
+		$orderBy = array_map(function(\SearchDAV\XML\Order $order) use ($allProps) {
101 101
 			if (!isset($allProps[$order->property])) {
102 102
 				throw new BadRequest('requested order by property is not a valid property for this scope');
103 103
 			}
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 			}
108 108
 			return new Order($prop, $order->order);
109 109
 		}, $xml->orderBy);
110
-		$select = array_map(function ($propName) use ($allProps) {
110
+		$select = array_map(function($propName) use ($allProps) {
111 111
 			if (!isset($allProps[$propName])) {
112 112
 				return;
113 113
 			}
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
 	 * @throws BadRequest
132 132
 	 */
133 133
 	private function transformOperator(\SearchDAV\XML\Operator $operator, array $allProps) {
134
-		$arguments = array_map(function ($argument) use ($allProps) {
134
+		$arguments = array_map(function($argument) use ($allProps) {
135 135
 			if (is_string($argument)) {
136 136
 				if (!isset($allProps[$argument])) {
137 137
 					throw new BadRequest('requested search property is not a valid property for this scope');
Please login to merge, or discard this patch.