Completed
Push — master ( 075b8f...6376e7 )
by Mahmoud
04:18
created
app/Containers/Paypal/UI/API/Tests/Functional/CreatePaypalAccountTest.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@
 block discarded – undo
25 25
         $user = $this->registerAndLoginTestingUser($userDetails);
26 26
 
27 27
         $data = [
28
-           // TODO: To Be Continue...
28
+            // TODO: To Be Continue...
29 29
         ];
30 30
 
31 31
         // send the HTTP request
Please login to merge, or discard this patch.
app/Containers/Stripe/Tasks/CreateStripeAccountObjectTask.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Containers\Stripe\Repositories\Eloquent\StripeAccountRepository;
7 7
 use App\Containers\User\Models\User;
8 8
 use App\Port\Action\Abstracts\Action;
9
-use Auth;
10 9
 
11 10
 /**
12 11
  * Class CreateStripeAccountAction.
Please login to merge, or discard this patch.
app/Containers/Tracker/Tasks/UpdateTimeTrackerToCloseTask.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@
 block discarded – undo
50 50
     /**
51 51
      * @param \App\Containers\Tracker\Models\TimeTracker $timeTracker
52 52
      *
53
-     * @return  \App\Containers\Tracker\Models\TimeTracker|mixed
53
+     * @return  boolean
54 54
      */
55 55
     public function run(TimeTracker $timeTracker)
56 56
     {
Please login to merge, or discard this patch.
app/Containers/Email/UI/API/Controllers/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
 {
18 18
 
19 19
     /**
20
-     * @param \App\Containers\Email\UI\API\Requests\SetEmailRequest $request
20
+     * @param SetUserEmailRequest $request
21 21
      * @param \App\Containers\Email\Actions\SetUserEmailWithConfirmationAction   $action
22 22
      *
23 23
      * @return  \Dingo\Api\Http\Response
Please login to merge, or discard this patch.
app/Containers/User/Actions/GetUserAction.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
      * @param \App\Containers\User\Tasks\FindUserByVisitorIdTask  $findUserByVisitorIdTask
33 33
      * @param \App\Containers\User\Tasks\FindUserByIdTask         $findUserByIdTask
34
-     * @param \App\Containers\User\Tasks\GetAuthenticatedUserTask $getAuthenticatedUserTask
34
+     * @param GetAuthenticatedUserTask $getAuthenticatedUserTask
35 35
      */
36 36
     public function __construct(
37 37
         FindUserByVisitorIdTask $findUserByVisitorIdTask,
Please login to merge, or discard this patch.
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/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
@@ -78,10 +78,10 @@
 block discarded – undo
78 78
         // find if that user exist in our database
79 79
         $user = $this->findSocialUserTask->run($provider, $socialUserProfile->id);
80 80
 
81
-        $tokenSecret = isset($socialUserProfile->tokenSecret) ? : null;
82
-        $expiresIn = isset($socialUserProfile->expiresIn) ? : null;
83
-        $refreshToken = isset($socialUserProfile->refreshToken) ? : null;
84
-        $avatar_original = isset($socialUserProfile->avatar_original) ? : null;
81
+        $tokenSecret = isset($socialUserProfile->tokenSecret) ?: null;
82
+        $expiresIn = isset($socialUserProfile->expiresIn) ?: null;
83
+        $refreshToken = isset($socialUserProfile->refreshToken) ?: null;
84
+        $avatar_original = isset($socialUserProfile->avatar_original) ?: null;
85 85
 
86 86
         // if user not found then create new one
87 87
         if (!$user) {
Please login to merge, or discard this patch.
app/Containers/Email/Actions/SetUserEmailWithConfirmationAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@
 block discarded – undo
65 65
      */
66 66
     public function run($email, $userId = null)
67 67
     {
68
-        if(!$userId){
68
+        if (!$userId) {
69 69
             $userId = $this->getAuthenticatedUserTask->run()->id;
70 70
         }
71 71
 
Please login to merge, or discard this patch.