Completed
Pull Request — master (#51)
by
unknown
14s
created
app/Http/Controllers/LinkedInController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     public function __construct()
36 36
     {
37 37
         $this->baseUrl = self::LINKEDIN_API;
38
-        $this->client = new Client(['base_uri' => $this->baseUrl]);
38
+        $this->client = new Client([ 'base_uri' => $this->baseUrl ]);
39 39
     }
40 40
 
41 41
      /**
@@ -44,13 +44,13 @@  discard block
 block discarded – undo
44 44
      */
45 45
     private function setRequestOptions()
46 46
     {
47
-        $authBearer = 'Bearer '. Auth::user()->getAccessToken();
48
-        $this->client = new Client(['base_uri' => $this->baseUrl,
47
+        $authBearer = 'Bearer '.Auth::user()->getAccessToken();
48
+        $this->client = new Client([ 'base_uri' => $this->baseUrl,
49 49
             'headers' => [
50 50
                 'Authorization' => $authBearer,
51 51
                 'Content-Type'  => 'application/json',
52 52
                 'Accept'        => 'application/json'
53
-        ]]);
53
+        ] ]);
54 54
     }
55 55
 
56 56
     /**
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
      */
60 60
     private function setGetResponse($relativeUrl)
61 61
     {
62
-        $this->response = $this->client->get($this->baseUrl . $relativeUrl, []);
62
+        $this->response = $this->client->get($this->baseUrl.$relativeUrl, [ ]);
63 63
     }
64 64
 
65 65
     /**
Please login to merge, or discard this patch.