Completed
Push — master ( 071bb7...06db50 )
by Mahmoud
03:08
created
app/Containers/Application/Tasks/CreateApplicationTask.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
      * @param $name
34 34
      * @param $userId
35 35
      *
36
-     * @return  \App\Containers\Application\Models\Application|mixed
36
+     * @return  Application
37 37
      */
38 38
     public function run($name, $userId)
39 39
     {
Please login to merge, or discard this patch.
app/Containers/Application/UI/API/Controllers/Controller.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -15,8 +15,8 @@
 block discarded – undo
15 15
 {
16 16
 
17 17
     /**
18
-     * @param \App\Containers\Application\UI\API\Requests\GenerateApplicationTokenRequest $request
19
-     * @param \App\Containers\Application\Actions\GenerateApplicationTokenAction          $action
18
+     * @param CreateApplicationRequest $request
19
+     * @param CreateApplicationWithTokenAction          $action
20 20
      *
21 21
      * @return  \Dingo\Api\Http\Response
22 22
      */
Please login to merge, or discard this patch.
app/Containers/Authentication/Actions/WebAdminLoginAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      * LoginAction constructor.
29 29
      *
30 30
      * @param \App\Containers\Authentication\Tasks\WebLoginTask            $webLoginTask
31
-     * @param \App\Containers\Authentication\Tasks\IsUserAdminTask $isUserAdminTask
31
+     * @param IsUserAdminTask $isUserAdminTask
32 32
      */
33 33
     public function __construct(WebLoginTask $webLoginTask, IsUserAdminTask $isUserAdminTask)
34 34
     {
Please login to merge, or discard this patch.
app/Containers/Payment/Tests/Unit/ChargeUsersTest.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\Containers\Payment\Tests\Unit;
4 4
 
5 5
 use App\Containers\Payment\Factories\PaymentsFactory;
6
-use App\Containers\Paypal\Tasks\CreatePaypalAccountObjectTask;
7
-use App\Containers\Paypal\Tasks\ChargeWithPaypalTask;
8 6
 use App\Containers\Stripe\Tasks\CreateStripeAccountObjectTask;
9 7
 use App\Containers\Stripe\Tasks\ChargeWithStripeTask;
10 8
 use App\Port\Tests\PHPUnit\Abstracts\TestCase;
Please login to merge, or discard this patch.
app/Containers/Socialauth/Actions/SocialLoginAction.php 2 patches
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -21,10 +21,10 @@
 block discarded – undo
21 21
      * SocialLoginAction constructor.
22 22
      *
23 23
      * @param \App\Containers\SocialAuth\Tasks\GetUserSocialProfileTask     $getUserSocialProfileTask
24
-     * @param \App\Containers\User\Tasks\FindSocialUserTask                                 $findSocialUserTask
25
-     * @param \App\Containers\User\Tasks\CreateUserBySocialProfileTask                               $createUserBySocialProfileTask
24
+     * @param FindSocialUserTask                                 $findSocialUserTask
25
+     * @param CreateUserBySocialProfileTask                               $createUserBySocialProfileTask
26 26
      * @param \App\Containers\SocialAuth\Tasks\UpdateUserSocialProfileTask  $updateUserSocialProfileTask
27
-     * @param \App\Containers\SocialAuth\Actions\ApiLoginThisUserObjectTask $apiLoginThisUserObjectTask
27
+     * @param ApiLoginThisUserObjectTask $apiLoginThisUserObjectTask
28 28
      */
29 29
     public function __construct(
30 30
         GetUserSocialProfileTask $getUserSocialProfileTask,
Please login to merge, or discard this 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/Socialauth/UI/API/Controllers/Controller.php 1 patch
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -4,8 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Containers\SocialAuth\Actions\SocialLoginAction;
6 6
 use App\Containers\SocialAuth\UI\API\Requests\ApiAuthenticateRequest;
7
-use App\Containers\SocialAuth\UI\API\Requests\AuthenticateCallbackRequest;
8
-use App\Containers\SocialAuth\UI\API\Requests\AuthenticateOneRequest;
9 7
 use App\Containers\User\UI\API\Transformers\UserTransformer;
10 8
 use App\Port\Controller\Abstracts\PortApiController;
11 9
 
Please login to merge, or discard this patch.
app/Containers/User/Data/Seeders/DefaultUsersSeeder.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * DefaultUsersSeeder constructor.
20 20
      *
21
-     * @param \App\Containers\Authorization\Data\Seeders\GetRoleTask $getRoleTask
21
+     * @param GetRoleTask $getRoleTask
22 22
      */
23 23
     public function __construct(GetRoleTask $getRoleTask)
24 24
     {
Please login to merge, or discard this patch.
app/Port/Tests/PHPUnit/Traits/TestingTrait.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@
 block discarded – undo
35 35
     public $loggedInTestingUser;
36 36
 
37 37
     /**
38
-     * @param        $endpoint
38
+     * @param        string $endpoint
39 39
      * @param string $verb
40 40
      * @param array  $data
41 41
      * @param bool   $protected
Please login to merge, or discard this patch.
app/Containers/Authentication/Configs/jwt.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
     |
65 65
     */
66 66
 
67
-    'user' => env('USER_NAMESPACE').'User',
67
+    'user' => env('USER_NAMESPACE') . 'User',
68 68
 
69 69
     /*
70 70
     |--------------------------------------------------------------------------
Please login to merge, or discard this patch.