Passed
Push — master ( 372d25...2d1262 )
by Wesley
03:21
created
src/Support/Connect.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@  discard block
 block discarded – undo
18 18
 
19 19
     public function __construct($config = null)
20 20
     {
21
-        if(is_array($config)){
21
+        if (is_array($config)) {
22 22
             extract($config);
23 23
             $this->setConfig($client_id, $client_secret, $basic);
24 24
         }
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
     // URI: /security/oauth/token?grant_type=client_credentials&client_id=[CLIENT_ID]&client_secret=[CLIENT_SECRET]
56 56
     //Header: "Authorization" -> "[BASIC]"
57 57
 
58
-    public function setClient(){
58
+    public function setClient() {
59 59
         $client = new Client([
60 60
             'base_uri' => self::ENDPOINT,
61 61
         ]);
Please login to merge, or discard this patch.