Completed
Push — master ( 600877...0dfca5 )
by smiley
01:35
created
src/HTTPClientAbstract.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
 	 */
86 86
 	public function buildQuery(array $params, bool $urlencode = null, string $delimiter = null, string $enclosure = null):string {
87 87
 
88
-		if(empty($params)) {
88
+		if(empty($params)){
89 89
 			return '';
90 90
 		}
91 91
 
@@ -106,13 +106,13 @@  discard block
 block discarded – undo
106 106
 
107 107
 		foreach($params as $parameter => $value){
108 108
 
109
-			if(is_array($value)) {
109
+			if(is_array($value)){
110 110
 				// If two or more parameters share the same name, they are sorted by their value
111 111
 				// Ref: Spec: 9.1.1 (1)
112 112
 				// June 12th, 2010 - changed to sort because of issue 164 by hidetaka
113 113
 				sort($value, SORT_STRING);
114 114
 
115
-				foreach ($value as $duplicateValue) {
115
+				foreach($value as $duplicateValue){
116 116
 					$pairs[] = $parameter.'='.$enclosure.$duplicateValue.$enclosure;
117 117
 				}
118 118
 
Please login to merge, or discard this patch.