Passed
Push — master ( 49de82...9f1fc0 )
by James
35:45 queued 23:44
created
app/Providers/RuleGroupServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     {
47 47
         $this->app->bind(
48 48
             RuleGroupRepositoryInterface::class,
49
-            function (Application $app) {
49
+            function(Application $app) {
50 50
                 /** @var RuleGroupRepository $repository */
51 51
                 $repository = app(RuleGroupRepository::class);
52 52
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/CurrencyServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->app->bind(
47 47
             CurrencyRepositoryInterface::class,
48
-            function (Application $app) {
48
+            function(Application $app) {
49 49
                 /** @var CurrencyRepository $repository */
50 50
                 $repository = app(CurrencyRepository::class);
51 51
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/SearchServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->app->bind(
47 47
             SearchInterface::class,
48
-            function (Application $app) {
48
+            function(Application $app) {
49 49
                 /** @var Search $search */
50 50
                 $search = app(Search::class);
51 51
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/PiggyBankServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -47,7 +47,7 @@
 block discarded – undo
47 47
     {
48 48
         $this->app->bind(
49 49
             PiggyBankRepositoryInterface::class,
50
-            function (Application $app) {
50
+            function(Application $app) {
51 51
                 /** @var PiggyBankRepository $repository */
52 52
                 $repository = app(PiggyBankRepository::class);
53 53
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/AttachmentServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->app->bind(
47 47
             AttachmentRepositoryInterface::class,
48
-            function (Application $app) {
48
+            function(Application $app) {
49 49
                 /** @var AttachmentRepositoryInterface $repository */
50 50
                 $repository = app(AttachmentRepository::class);
51 51
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/RuleServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->app->bind(
47 47
             RuleRepositoryInterface::class,
48
-            function (Application $app) {
48
+            function(Application $app) {
49 49
                 /** @var RuleRepository $repository */
50 50
                 $repository = app(RuleRepository::class);
51 51
                 if ($app->auth->check()) {
Please login to merge, or discard this patch.
app/Providers/BillServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@
 block discarded – undo
45 45
     {
46 46
         $this->app->bind(
47 47
             BillRepositoryInterface::class,
48
-            function (Application $app) {
48
+            function(Application $app) {
49 49
                 /** @var BillRepositoryInterface $repository */
50 50
                 $repository = app(BillRepository::class);
51 51
 
Please login to merge, or discard this patch.
app/Models/PiggyBankRepetition.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -83,12 +83,12 @@
 block discarded – undo
83 83
                 $q->orWhereNull('startdate');
84 84
             }
85 85
         )
86
-                     ->where(
87
-                         function (EloquentBuilder $q) use ($date) {
88
-                             $q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
89
-                             $q->orWhereNull('targetdate');
90
-                         }
91
-                     );
86
+                        ->where(
87
+                            function (EloquentBuilder $q) use ($date) {
88
+                                $q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
89
+                                $q->orWhereNull('targetdate');
90
+                            }
91
+                        );
92 92
     }
93 93
 
94 94
     /**
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,13 +83,13 @@
 block discarded – undo
83 83
     public function scopeRelevantOnDate(EloquentBuilder $query, Carbon $date)
84 84
     {
85 85
         return $query->where(
86
-            function (EloquentBuilder $q) use ($date) {
86
+            function(EloquentBuilder $q) use ($date) {
87 87
                 $q->where('startdate', '<=', $date->format('Y-m-d 00:00:00'));
88 88
                 $q->orWhereNull('startdate');
89 89
             }
90 90
         )
91 91
                      ->where(
92
-                         function (EloquentBuilder $q) use ($date) {
92
+                         function(EloquentBuilder $q) use ($date) {
93 93
                              $q->where('targetdate', '>=', $date->format('Y-m-d 00:00:00'));
94 94
                              $q->orWhereNull('targetdate');
95 95
                          }
Please login to merge, or discard this patch.
app/Models/PiggyBank.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -71,8 +71,8 @@
 block discarded – undo
71 71
         if (auth()->check()) {
72 72
             $piggyBankId = (int)$value;
73 73
             $piggyBank   = self::where('piggy_banks.id', $piggyBankId)
74
-                               ->leftJoin('accounts', 'accounts.id', '=', 'piggy_banks.account_id')
75
-                               ->where('accounts.user_id', auth()->user()->id)->first(['piggy_banks.*']);
74
+                                ->leftJoin('accounts', 'accounts.id', '=', 'piggy_banks.account_id')
75
+                                ->where('accounts.user_id', auth()->user()->id)->first(['piggy_banks.*']);
76 76
             if (null !== $piggyBank) {
77 77
                 return $piggyBank;
78 78
             }
Please login to merge, or discard this patch.