Completed
Push — master ( 10494f...7e4cd3 )
by PROSPER
03:44
created
app/Http/Controllers/OauthController.php 2 patches
Doc Comments   +5 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,6 +26,9 @@  discard block
 block discarded – undo
26 26
         return $this->execute(($request->has('code') || $request->has('oauth_token')), $provider);
27 27
     }
28 28
 
29
+    /**
30
+     * @param boolean $request
31
+     */
29 32
     public function execute($request, $provider)
30 33
     {
31 34
         if (! $request) {
@@ -41,6 +44,7 @@  discard block
 block discarded – undo
41 44
     /**
42 45
      * Find a user by username or create a new user
43 46
      * @param
47
+     * @param \Laravel\Socialite\Contracts\User $userData
44 48
      * @return
45 49
      */
46 50
     public function findByProviderIdOrCreate($userData, $provider)
@@ -103,7 +107,7 @@  discard block
 block discarded – undo
103 107
     /**
104 108
      * Get Data from Social Media Account
105 109
      * @param  string $provider
106
-     * @return collection
110
+     * @return \Laravel\Socialite\Contracts\User
107 111
      */
108 112
     private function getSocialUser($provider)
109 113
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 use Illuminate\Contracts\Auth\Guard;
10 8
 use Laravel\Socialite\Contracts\Factory as Socialite;
Please login to merge, or discard this patch.
app/Http/Controllers/AccountController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use Illuminate\Http\Request;
6
-
7
-use App\Http\Requests;
8 6
 use App\Http\Controllers\Controller;
9 7
 use Illuminate\Contracts\Auth\Guard;
10 8
 use Laravel\Socialite\Contracts\Factory as Socialite;
Please login to merge, or discard this patch.
app/Http/Controllers/NytController.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -3,8 +3,6 @@
 block discarded – undo
3 3
 namespace App\Http\Controllers;
4 4
 
5 5
 use GuzzleHttp\Client;
6
-use App\Http\Requests;
7
-use Illuminate\Http\Request;
8 6
 use App\Http\Controllers\Controller;
9 7
 
10 8
 class NytController extends Controller
Please login to merge, or discard this patch.