Completed
Branch master (c264c8)
by Mahmoud
08:34
created
app/Containers/Email/Controllers/WebController.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
      * @param \App\Containers\User\Actions\FindUserByIdAction              $findUserByIdAction
22 22
      * @param \App\Containers\Email\Actions\ValidateConfirmationCodeAction $validateConfirmationCodeAction
23 23
      *
24
-     * @return  \Illuminate\Http\RedirectResponse|\Illuminate\Routing\Redirector
24
+     * @return  \Illuminate\Http\RedirectResponse
25 25
      */
26 26
     public function confirmUserEmail(
27 27
         ConfirmUserEmailRequest $confirmUserEmailRequest,
Please login to merge, or discard this patch.
app/Containers/Email/Services/GenerateEmailConfirmationUrlService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
      * @param $email
28 28
      * @param $password
29 29
      *
30
-     * @return mixed
30
+     * @return string
31 31
      */
32 32
     public function run(User $user)
33 33
     {
Please login to merge, or discard this patch.
app/Containers/Email/Services/SendConfirmationEmailService.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
16 16
 
17 17
     /**
18 18
      * @param \App\Containers\User\Models\User $user
19
-     * @param                                  $confirmationUrl
19
+     * @param                                  string $confirmationUrl
20 20
      */
21 21
     public function run(User $user, $confirmationUrl)
22 22
     {
Please login to merge, or discard this patch.
app/Containers/Payments/Services/PaymentsFactory.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
 
24 24
     /**
25 25
      * @param \App\Containers\User\Models\User $user
26
-     * @param                                  $amount
26
+     * @param                                  integer $amount
27 27
      * @param string                           $currency
28 28
      *
29 29
      * @return  mixed
Please login to merge, or discard this 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\Payments\Contracts\Chargeable;
9 9
 use App\Containers\Payments\Exceptions\ObjectNonChargeableException;
10 10
 use App\Containers\Payments\Exceptions\PaymentMethodNotFoundException;
11
-use App\Containers\Payments\Exceptions\UserNotSetInThePaymentServiceException;
12 11
 use Illuminate\Support\Facades\App;
13 12
 
14 13
 /**
Please login to merge, or discard this patch.
app/Containers/Paypal/Actions/CreatePaypalAccountAction.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\Paypal\Repositories\Eloquent\PaypalAccountRepository;
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 CreatePaypalAccountAction
Please login to merge, or discard this patch.
app/Containers/Stripe/Actions/CreateStripeAccountAction.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/User/Actions/FindUserByIdAction.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -24,7 +24,6 @@  discard block
 block discarded – undo
24 24
      * CreateUserAction constructor.
25 25
      *
26 26
      * @param \App\Containers\User\Contracts\UserRepositoryInterface           $userRepository
27
-     * @param \App\Containers\ApiAuthentication\Services\ApiAuthenticationService $authenticationService
28 27
      */
29 28
     public function __construct(
30 29
         UserRepositoryInterface $userRepository
@@ -39,7 +38,6 @@  discard block
 block discarded – undo
39 38
      * @param      $email
40 39
      * @param      $password
41 40
      * @param      $name
42
-     * @param bool $login determine weather to login or not after creating
43 41
      *
44 42
      * @return mixed
45 43
      */
Please login to merge, or discard this patch.
app/Port/Email/Abstracts/MailsAbstract.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     /**
38 38
      * MailsAbstract constructor.
39 39
      *
40
-     * @param \Illuminate\Mail\Mailer $mail
41 40
      */
42 41
     public function __construct()
43 42
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
 
61 61
         // check if sending emails is enabled and if this is not running a testing environment
62 62
         if ($enabled && app()->env != 'testing') {
63
-            Mail::queue($this->template, $data, function ($m) {
63
+            Mail::queue($this->template, $data, function($m) {
64 64
                 $m->from($this->fromEmail, $this->fromName);
65 65
                 $m->to($this->toEmail, $this->toName)
66 66
                     ->subject($this->subject);
Please login to merge, or discard this patch.
app/Port/Exception/Abstracts/Exception.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
     /**
41 41
      * Exception constructor.
42 42
      *
43
-     * @param null            $message
43
+     * @param string            $message
44 44
      * @param null            $errors
45 45
      * @param null            $statusCode
46 46
      * @param int             $code
Please login to merge, or discard this patch.