Completed
Push — master ( 8fa479...2305de )
by smiley
03:05
created
src/CurlHandle.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -214,12 +214,12 @@
 block discarded – undo
214 214
 		$options[CURLOPT_HTTPHEADER] = $curlHeaders;
215 215
 
216 216
 		// If the Expect header is not present, prevent curl from adding it
217
-		if (!$this->request->hasHeader('Expect')) {
217
+		if (!$this->request->hasHeader('Expect')){
218 218
 			$options[CURLOPT_HTTPHEADER][] = 'Expect:';
219 219
 		}
220 220
 
221 221
 		// cURL sometimes adds a content-type by default. Prevent this.
222
-		if (!$this->request->hasHeader('Content-Type')) {
222
+		if (!$this->request->hasHeader('Content-Type')){
223 223
 			$options[CURLOPT_HTTPHEADER][] = 'Content-Type:';
224 224
 		}
225 225
 
Please login to merge, or discard this patch.
src/MagicAPI/EndpointDocblock.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -105,9 +105,9 @@
 block discarded – undo
105 105
 		$interfaceName = $name.'Interface';
106 106
 
107 107
 		$str = '<?php'.PHP_EOL.PHP_EOL
108
-		       .'namespace '.__NAMESPACE__.';'.PHP_EOL.PHP_EOL
109
-		       .'use \\'.$returntype.';'.PHP_EOL.PHP_EOL
110
-		       .'interface '.$interfaceName.'{'.PHP_EOL.PHP_EOL;
108
+			   .'namespace '.__NAMESPACE__.';'.PHP_EOL.PHP_EOL
109
+			   .'use \\'.$returntype.';'.PHP_EOL.PHP_EOL
110
+			   .'interface '.$interfaceName.'{'.PHP_EOL.PHP_EOL;
111 111
 
112 112
 		$ep = $this->endpointMap->toArray();
113 113
 		ksort($ep);
Please login to merge, or discard this patch.