Completed
Push — master ( 468cb3...af1818 )
by PROSPER
02:26
created
app/Http/Controllers/OauthController.php 1 patch
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.