Completed
Pull Request — master (#23)
by
unknown
03:20
created
app/Http/Controllers/OauthController.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,6 +25,9 @@  discard block
 block discarded – undo
25 25
         return $this->execute(($request->has('code') || $request->has('oauth_token')), $provider);
26 26
     }
27 27
 
28
+    /**
29
+     * @param boolean $request
30
+     */
28 31
     public function execute($request, $provider)
29 32
     {
30 33
         if (! $request) {
@@ -40,7 +43,7 @@  discard block
 block discarded – undo
40 43
     /**
41 44
      * Find a user by username or create a new user
42 45
      *
43
-     * @param $userData
46
+     * @param \Laravel\Socialite\Contracts\User $userData
44 47
      * @param $provider
45 48
      *
46 49
      * @return \App\User
@@ -130,7 +133,7 @@  discard block
 block discarded – undo
130 133
     /**
131 134
      * Get Data from Social Media Account
132 135
      * @param  string $provider
133
-     * @return collection
136
+     * @return \Laravel\Socialite\Contracts\User
134 137
      */
135 138
     private function getSocialUser($provider)
136 139
     {
Please login to merge, or discard this patch.
app/Http/Controllers/LinkedInController.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -29,19 +29,19 @@
 block discarded – undo
29 29
      */
30 30
     protected $response;
31 31
 
32
-     /**
33
-     * Initialize the Controller with necessary arguments
34
-     */
32
+        /**
33
+         * Initialize the Controller with necessary arguments
34
+         */
35 35
     public function __construct()
36 36
     {
37 37
         $this->baseUrl = self::LINKEDIN_API;
38 38
         $this->client = new Client(['base_uri' => $this->baseUrl]);
39 39
     }
40 40
 
41
-     /**
42
-     * Set options for making the Client request
43
-     * @return  void
44
-     */
41
+        /**
42
+         * Set options for making the Client request
43
+         * @return  void
44
+         */
45 45
     private function setRequestOptions()
46 46
     {
47 47
         $authBearer = 'Bearer '. Auth::user()->getAccessToken();
Please login to merge, or discard this patch.
app/Http/Controllers/NytController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -27,9 +27,9 @@
 block discarded – undo
27 27
      */
28 28
     public function __construct()
29 29
     {
30
-         $this->baseUrl = self::API_URL;
31
-         $this->client = new Client(['base_uri' => $this->baseUrl]);
32
-         $this->setGetResponse($this->getRelativeUrl());
30
+            $this->baseUrl = self::API_URL;
31
+            $this->client = new Client(['base_uri' => $this->baseUrl]);
32
+            $this->setGetResponse($this->getRelativeUrl());
33 33
     }
34 34
 
35 35
     /**
Please login to merge, or discard this patch.
app/Http/Controllers/YahooController.php 1 patch
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -25,13 +25,13 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public function __construct()
27 27
     {
28
-         $this->baseUrl = self::YAHOO_API;
29
-         $this->client = new Client(['base_uri' => $this->baseUrl]);
28
+            $this->baseUrl = self::YAHOO_API;
29
+            $this->client = new Client(['base_uri' => $this->baseUrl]);
30 30
 
31
-         $query = "SELECT * FROM weather.forecast WHERE (location = 10007)";
31
+            $query = "SELECT * FROM weather.forecast WHERE (location = 10007)";
32 32
 
33
-         $relativeUrl = '?q=' . $query . '&format=json';
34
-         $this->setGetResponse($relativeUrl);
33
+            $relativeUrl = '?q=' . $query . '&format=json';
34
+            $this->setGetResponse($relativeUrl);
35 35
     }
36 36
 
37 37
     /**
@@ -62,10 +62,10 @@  discard block
 block discarded – undo
62 62
     }
63 63
 
64 64
 
65
-     /**
66
-     * Return all data to the Yahoo API dashboard
67
-     * @return mixed
68
-     */
65
+        /**
66
+         * Return all data to the Yahoo API dashboard
67
+         * @return mixed
68
+         */
69 69
     public function getPage()
70 70
     {
71 71
         $data = $this->getData();
Please login to merge, or discard this patch.