Passed
Push — master ( d00643...6a07a3 )
by Neil
03:12
created
src/CelcatWebAPI.php 2 patches
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,8 +107,7 @@
 block discarded – undo
107 107
                 $this->throwRunTimeException('An error occurred, received a '.$request->getStatusCode());
108 108
                 return null;
109 109
             }
110
-        }
111
-        catch (\Exception $exception) {
110
+        } catch (\Exception $exception) {
112 111
             if ($exception instanceof ClientException) {
113 112
                 if ($exception->getCode() == 404) {
114 113
                     $this->log()->info('Received '.$exception->getCode());
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@
 block discarded – undo
131 131
         if ($this->config['PROXY']) {
132 132
             $client = new Client(['proxy' => $this->config['PROXY']]);
133 133
             if (!empty($this->config['PROXY']['no'])) {
134
-                putenv('no_proxy=' . implode(' ,', $this->config['PROXY']['no']));
134
+                putenv('no_proxy='.implode(' ,', $this->config['PROXY']['no']));
135 135
             }
136 136
 
137 137
             return $client;
Please login to merge, or discard this patch.