Completed
Pull Request — master (#38)
by
unknown
08:06
created
app/Http/Controllers/SteamController.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -9,10 +9,10 @@
 block discarded – undo
9 9
 
10 10
 class SteamController extends Controller
11 11
 {
12
-     /**
13
-     * Return all data to the Steam API dashboard
14
-     * @return mixed
15
-     */
12
+        /**
13
+         * Return all data to the Steam API dashboard
14
+         * @return mixed
15
+         */
16 16
     public function getPage()
17 17
     {
18 18
         return view('api.steam');
Please login to merge, or discard this patch.
app/Http/Controllers/WebScrapingController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@
 block discarded – undo
33 33
 
34 34
     /**
35 35
      * Scrape the Links
36
-     * @param $siteToCrawl
36
+     * @param string $siteToCrawl
37 37
      * @return array
38 38
      */
39 39
     public function getData($siteToCrawl)
Please login to merge, or discard this patch.
app/Http/Controllers/SlackController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $list = (array)SlackUser::lists();
32 32
 
33 33
         if (is_null($count)) {
34
-           return $list['members'];
34
+            return $list['members'];
35 35
         }
36 36
 
37 37
         return array_slice($list['members'], 0, $count);
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
      */
45 45
     public function sendMessageToTeam(Request $request)
46 46
     {
47
-         $this->validate($request, [
47
+            $this->validate($request, [
48 48
             'message'  => 'required'
49 49
         ]);
50 50
 
Please login to merge, or discard this patch.
app/Http/Controllers/FacebookController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -41,8 +41,8 @@
 block discarded – undo
41 41
      */
42 42
     private function getData()
43 43
     {
44
-       $data = Facebook::get('/me?fields=id,name,cover,email,gender,first_name,last_name,locale,timezone,link,picture', Auth::user()->getAccessToken());
44
+        $data = Facebook::get('/me?fields=id,name,cover,email,gender,first_name,last_name,locale,timezone,link,picture', Auth::user()->getAccessToken());
45 45
 
46
-      return json_decode($data->getGraphUser(),true);
46
+        return json_decode($data->getGraphUser(),true);
47 47
     }
48 48
 }
Please login to merge, or discard this patch.
app/Http/Controllers/FoursquareController.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,9 +16,9 @@
 block discarded – undo
16 16
      */
17 17
     protected $foursquare;
18 18
 
19
-     /**
20
-     * Initialize the Controller with necessary arguments
21
-     */
19
+        /**
20
+         * Initialize the Controller with necessary arguments
21
+         */
22 22
     public function __construct()
23 23
     {
24 24
         $this->foursquare = new FoursquareApi(env('FOURSQUARE_CLIENT_ID'), env('FOURSQUARE_CLIENT_SECRET'));
Please login to merge, or discard this patch.
app/Http/Controllers/LastFmController.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
         $tracks = array_slice($this->getTopTracks(), 0, 10);
39 39
 
40 40
         return view('api.lastfm')->withDetails($details)
41
-                                 ->withAlbums($albums)
42
-                                 ->withTracks($tracks);
41
+                                    ->withAlbums($albums)
42
+                                    ->withTracks($tracks);
43 43
     }
44 44
 
45 45
     /**
Please login to merge, or discard this patch.
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.