Completed
Push — master ( 075b8f...6376e7 )
by Mahmoud
04:18
created
Containers/User/Data/Migrations/2000_01_01_000001_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('users', function (Blueprint $table) {
14
+        Schema::create('users', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->string('name');
17 17
 
Please login to merge, or discard this patch.
User/Data/Migrations/2000_01_01_000002_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('password_resets', function (Blueprint $table) {
14
+        Schema::create('password_resets', function(Blueprint $table) {
15 15
             $table->string('email')->index();
16 16
             $table->string('token')->index();
17 17
             $table->timestamp('created_at');
Please login to merge, or discard this patch.
Settings/Data/Migrations/2016_20_09_030201_create_settings_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('settings', function (Blueprint $table) {
14
+        Schema::create('settings', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->string('key')->unique();
17 17
             $table->string('value');
Please login to merge, or discard this patch.
app/Containers/User/Data/Factories/UserFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 // User
4
-$factory->define(App\Containers\User\Models\User::class, function (Faker\Generator $faker) {
4
+$factory->define(App\Containers\User\Models\User::class, function(Faker\Generator $faker) {
5 5
     return [
6 6
         'name'     => $faker->name,
7 7
         'email'    => $faker->email,
Please login to merge, or discard this patch.
app/Containers/Email/Tasks/GenerateEmailConfirmationUrlTask.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/Tasks/SendConfirmationEmailTask.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/User/Actions/CreateUserAction.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
      * CreateUserAction constructor.
29 29
      *
30 30
      * @param \App\Containers\User\Tasks\CreateUserByCredentialsTask $createUserByCredentialsTask
31
-     * @param \App\Containers\User\Actions\FireUserCreatedEventTask  $fireUserCreatedEventTask
31
+     * @param FireUserCreatedEventTask  $fireUserCreatedEventTask
32 32
      */
33 33
     public function __construct(
34 34
         CreateUserByCredentialsTask $createUserByCredentialsTask,
Please login to merge, or discard this patch.
app/Containers/Authentication/Tasks/GetAuthenticatedUserTask.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
     /**
22 22
      * GetAuthenticatedUserTask constructor.
23 23
      *
24
-     * @param \App\Containers\User\Tasks\Auth $auth
24
+     * @param Auth $auth
25 25
      */
26 26
     public function __construct(Auth $auth)
27 27
     {
Please login to merge, or discard this patch.
app/Containers/Payment/Factories/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
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use App\Containers\Payment\Contracts\Chargeable;
6 6
 use App\Containers\Payment\Exceptions\ObjectNonChargeableException;
7 7
 use App\Containers\Payment\Exceptions\PaymentMethodNotFoundException;
8
-use App\Containers\Payment\Exceptions\UserNotSetInThePaymentTaskException;
9 8
 use App\Containers\Paypal\Tasks\ChargeWithPaypalTask;
10 9
 use App\Containers\Stripe\Tasks\ChargeWithStripeTask;
11 10
 use App\Containers\User\Models\User;
Please login to merge, or discard this patch.