From db8b3b2cfd14b6163099741fb9ac9fa28364a30d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Franc=CC=A7ois=20Hodierne?= Date: Fri, 22 Aug 2014 09:56:33 +0200 Subject: [PATCH] fix code formatting --- lib/Eyeem/Http.php | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/lib/Eyeem/Http.php b/lib/Eyeem/Http.php index 732f6b8..ddaad2f 100644 --- a/lib/Eyeem/Http.php +++ b/lib/Eyeem/Http.php @@ -32,12 +32,10 @@ public static function request($options = array()) } elseif (isset($clientId)) { $headers[] = "X-Client-Id: $clientId"; } - - if($header) - { - $headers = array_merge($headers, $header); + // Extra Header + if ($header) { + $headers = array_merge($headers, $header); } - // Parameters if (!empty($params)) { switch ($method) {