@@ -21,7 +21,7 @@ |
||
| 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, |
@@ -27,7 +27,7 @@ |
||
| 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 | { |
@@ -16,7 +16,7 @@ |
||
| 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 | { |
@@ -23,7 +23,7 @@ |
||
| 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 |
@@ -8,7 +8,6 @@ |
||
| 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 | /** |
@@ -6,7 +6,6 @@ |
||
| 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 |
@@ -6,7 +6,6 @@ |
||
| 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. |
@@ -24,7 +24,6 @@ discard block |
||
| 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 |
||
| 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 | */ |
@@ -37,7 +37,6 @@ |
||
| 37 | 37 | /** |
| 38 | 38 | * MailsAbstract constructor. |
| 39 | 39 | * |
| 40 | - * @param \Illuminate\Mail\Mailer $mail |
|
| 41 | 40 | */ |
| 42 | 41 | public function __construct() |
| 43 | 42 | { |
@@ -60,7 +60,7 @@ |
||
| 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); |
@@ -40,7 +40,7 @@ |
||
| 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 |