Completed
Pull Request — master (#77)
by Mauro
03:08
created
app/Port/Criterias/Eloquent/CountCriteria.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,6 @@
 block discarded – undo
37 37
      */
38 38
     public function apply($model, PrettusRepositoryInterface $repository)
39 39
     {
40
-        return DB::table($model->getModel()->getTable())->select('*', DB::raw('count('.$this->field.') as total_count'))->groupBy($this->field);
40
+        return DB::table($model->getModel()->getTable())->select('*', DB::raw('count(' . $this->field . ') as total_count'))->groupBy($this->field);
41 41
     }
42 42
 }
Please login to merge, or discard this patch.
Paypal/Data/Migrations/2016_07_11_120947_create_paypal_accounts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('paypal_accounts', function (Blueprint $table) {
21
+        Schema::create('paypal_accounts', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
 
24 24
             $table->string('some_id');
Please login to merge, or discard this patch.
Stripe/Data/Migrations/2016_07_08_110947_create_stripe_accounts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('stripe_accounts', function (Blueprint $table) {
21
+        Schema::create('stripe_accounts', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
             $table->string('customer_id');
24 24
             $table->string('card_id')->nullable();
Please login to merge, or discard this patch.
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/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/Paypal/Tasks/CreatePaypalAccountObjectTask.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/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.