Completed
Push — master ( 634f9c...d18387 )
by Robin
04:16
created
src/DAV/SearchHandler.php 1 patch
Spacing   +4 added lines, -4 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
 				throw new BadRequest('requested property is not a valid property for this scope');
116 116
 			}
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 			}
121 121
 			return $prop;
122 122
 		}, $xml->select);
123
-		$arguments = array_map(function ($argument) use ($allProps) {
123
+		$arguments = array_map(function($argument) use ($allProps) {
124 124
 			if (is_string($argument)) {
125 125
 				if (!isset($allProps[$argument])) {
126 126
 					throw new BadRequest('requested search property is not a valid property for this scope');
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
 	}
142 142
 
143 143
 	private function transformOperator(\SearchDAV\XML\Operator $operator, array $allProps) {
144
-		$arguments = array_map(function ($argument) use ($allProps) {
144
+		$arguments = array_map(function($argument) use ($allProps) {
145 145
 			if (is_string($argument)) {
146 146
 				if (!isset($allProps[$argument])) {
147 147
 					throw new BadRequest('requested search property is not a valid property for this scope');
Please login to merge, or discard this patch.