@@ -202,7 +202,7 @@ |
||
202 | 202 | { |
203 | 203 | $ruleGroup->rules()->whereNotNull('deleted_at')->update(['order' => 0]); |
204 | 204 | |
205 | - $set = $ruleGroup->rules() |
|
205 | + $set = $ruleGroup->rules() |
|
206 | 206 | ->orderBy('order', 'ASC') |
207 | 207 | ->orderBy('updated_at', 'DESC') |
208 | 208 | ->get(); |
@@ -124,15 +124,15 @@ discard block |
||
124 | 124 | ->orderBy('order', 'ASC') |
125 | 125 | ->with( |
126 | 126 | [ |
127 | - 'rules' => function (HasMany $query) { |
|
127 | + 'rules' => function(HasMany $query) { |
|
128 | 128 | $query->orderBy('active', 'DESC'); |
129 | 129 | $query->orderBy('order', 'ASC'); |
130 | 130 | |
131 | 131 | }, |
132 | - 'rules.ruleTriggers' => function (HasMany $query) { |
|
132 | + 'rules.ruleTriggers' => function(HasMany $query) { |
|
133 | 133 | $query->orderBy('order', 'ASC'); |
134 | 134 | }, |
135 | - 'rules.ruleActions' => function (HasMany $query) { |
|
135 | + 'rules.ruleActions' => function(HasMany $query) { |
|
136 | 136 | $query->orderBy('order', 'ASC'); |
137 | 137 | }, |
138 | 138 | ] |
@@ -214,7 +214,7 @@ discard block |
||
214 | 214 | { |
215 | 215 | $ruleGroup->rules()->whereNotNull('deleted_at')->update(['order' => 0]); |
216 | 216 | |
217 | - $set = $ruleGroup->rules() |
|
217 | + $set = $ruleGroup->rules() |
|
218 | 218 | ->orderBy('order', 'ASC') |
219 | 219 | ->orderBy('updated_at', 'DESC') |
220 | 220 | ->get(); |
@@ -65,7 +65,7 @@ |
||
65 | 65 | public function getCategories(): Collection |
66 | 66 | { |
67 | 67 | $set = $this->categories->sortBy( |
68 | - function (CategoryModel $category) { |
|
68 | + function(CategoryModel $category) { |
|
69 | 69 | return $category->spent; |
70 | 70 | } |
71 | 71 | ); |
@@ -46,7 +46,7 @@ |
||
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()) { |
@@ -45,7 +45,7 @@ |
||
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()) { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | $this->app->bind( |
47 | 47 | BudgetRepositoryInterface::class, |
48 | - function (Application $app) { |
|
48 | + function(Application $app) { |
|
49 | 49 | /** @var BudgetRepositoryInterface $repository */ |
50 | 50 | $repository = app(BudgetRepository::class); |
51 | 51 | if ($app->auth->check()) { |
@@ -45,7 +45,7 @@ |
||
45 | 45 | { |
46 | 46 | $this->app->bind( |
47 | 47 | CategoryRepositoryInterface::class, |
48 | - function (Application $app) { |
|
48 | + function(Application $app) { |
|
49 | 49 | /** @var CategoryRepository $repository */ |
50 | 50 | $repository = app(CategoryRepository::class); |
51 | 51 | if ($app->auth->check()) { |
@@ -56,7 +56,7 @@ discard block |
||
56 | 56 | { |
57 | 57 | $this->app->bind( |
58 | 58 | AccountRepositoryInterface::class, |
59 | - function (Application $app) { |
|
59 | + function(Application $app) { |
|
60 | 60 | /** @var AccountRepositoryInterface $repository */ |
61 | 61 | $repository = app(AccountRepository::class); |
62 | 62 | |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | { |
77 | 77 | $this->app->bind( |
78 | 78 | AccountTaskerInterface::class, |
79 | - function (Application $app) { |
|
79 | + function(Application $app) { |
|
80 | 80 | /** @var AccountTaskerInterface $tasker */ |
81 | 81 | $tasker = app(AccountTasker::class); |
82 | 82 |
@@ -45,7 +45,7 @@ |
||
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()) { |