Completed
Push — master ( 85f459...600877 )
by smiley
01:30
created
src/HTTPClientTrait.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
 	 */
156 156
 	public function buildHttpQuery(array $params, bool $urlencode = null, string $delimiter = null, string $enclosure = null):string {
157 157
 
158
-		if(empty($params)) {
158
+		if(empty($params)){
159 159
 			return '';
160 160
 		}
161 161
 
@@ -176,13 +176,13 @@  discard block
 block discarded – undo
176 176
 
177 177
 		foreach($params as $parameter => $value){
178 178
 
179
-			if(is_array($value)) {
179
+			if(is_array($value)){
180 180
 				// If two or more parameters share the same name, they are sorted by their value
181 181
 				// Ref: Spec: 9.1.1 (1)
182 182
 				// June 12th, 2010 - changed to sort because of issue 164 by hidetaka
183 183
 				sort($value, SORT_STRING);
184 184
 
185
-				foreach ($value as $duplicateValue) {
185
+				foreach($value as $duplicateValue){
186 186
 					$pairs[] = $parameter.'='.$enclosure.$duplicateValue.$enclosure;
187 187
 				}
188 188
 
Please login to merge, or discard this patch.