Completed
Push — master ( 727f83...413b1b )
by Mahmoud
06:06
created
app/Containers/Tracker/Tasks/CreateOpenTimeTrackTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     }
32 32
 
33 33
     /**
34
-     * @param \App\Containers\User\Models\User $user
34
+     * @param \App\Containers\User\Models\User $userId
35 35
      *
36 36
      * @return  \App\Containers\Tracker\Models\TimeTracker|mixed
37 37
      */
Please login to merge, or discard this patch.
app/Port/Tests/PHPUnit/Traits/TestingTrait.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -30,10 +30,10 @@  discard block
 block discarded – undo
30 30
     public $loggedInTestingUser;
31 31
 
32 32
     /**
33
-     * @param           $endpoint
33
+     * @param           string $endpoint
34 34
      * @param string    $verb
35 35
      * @param array     $data
36
-     * @param bool|true $protected
36
+     * @param boolean $protected
37 37
      * @param array     $header
38 38
      *
39 39
      * @throws \Symfony\Component\Debug\Exception\UndefinedMethodException
@@ -191,7 +191,7 @@  discard block
 block discarded – undo
191 191
     }
192 192
 
193 193
     /**
194
-     * @param $keys
194
+     * @param string[] $keys
195 195
      * @param $response
196 196
      */
197 197
     public function assertResponseContainKeys($keys, $response)
Please login to merge, or discard this patch.
app/Containers/SocialAuthentication/UI/API/Controllers/Controller.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use App\Containers\SocialAuthentication\UI\API\Requests\AuthenticateTwoRequest;
9 9
 use App\Containers\User\UI\API\Transformers\UserTransformer;
10 10
 use App\Port\Controller\Abstracts\PortApiController;
11
-use Dingo\Api\Http\Request;
12 11
 
13 12
 /**
14 13
  * Class Controller.
Please login to merge, or discard this patch.
app/Containers/SocialAuthentication/UI/API/Routes/v.1.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -156,19 +156,19 @@
 block discarded – undo
156 156
 // FOR LIVE TESTING ONLY
157 157
 
158 158
 $router->any('auth/google/test', [
159
-    'uses'       => function () {
159
+    'uses'       => function() {
160 160
         return Laravel\Socialite\Facades\Socialite::driver('google')->redirect();
161 161
     },
162 162
 ]);
163 163
 
164 164
 $router->any('auth/twitter/test', [
165
-    'uses'       => function () {
165
+    'uses'       => function() {
166 166
         return Laravel\Socialite\Facades\Socialite::driver('twitter')->redirect();
167 167
     },
168 168
 ]);
169 169
 
170 170
 $router->any('auth/facebook/test', [
171
-    'uses'       => function () {
171
+    'uses'       => function() {
172 172
         return Laravel\Socialite\Facades\Socialite::driver('facebook')->redirect();
173 173
     },
174 174
 ]);
Please login to merge, or discard this patch.
app/Containers/SocialAuthentication/Actions/SocialLoginAction.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -89,10 +89,10 @@
 block discarded – undo
89 89
                 $socialUserProfile->name,
90 90
                 $socialUserProfile->email,
91 91
                 $socialUserProfile->avatar,
92
-                isset($socialUserProfile->tokenSecret) ? : null,
93
-                isset($socialUserProfile->expiresIn) ? : null,
94
-                isset($socialUserProfile->refreshToken) ? : null,
95
-                isset($socialUserProfile->avatar_original) ? : null
92
+                isset($socialUserProfile->tokenSecret) ?: null,
93
+                isset($socialUserProfile->expiresIn) ?: null,
94
+                isset($socialUserProfile->refreshToken) ?: null,
95
+                isset($socialUserProfile->avatar_original) ?: null
96 96
             );
97 97
         } else {
98 98
             // if the user exist then update the Tokens
Please login to merge, or discard this patch.