@@ -52,7 +52,6 @@ |
||
52 | 52 | * |
53 | 53 | * @return bool |
54 | 54 | * |
55 | - |
|
56 | 55 | */ |
57 | 56 | public function act(TransactionJournal $journal): bool |
58 | 57 | { |
@@ -63,7 +63,6 @@ |
||
63 | 63 | * |
64 | 64 | * @return mixed |
65 | 65 | * |
66 | - |
|
67 | 66 | */ |
68 | 67 | public function handle($request, Closure $next, ...$guards) |
69 | 68 | { |
@@ -125,9 +125,9 @@ |
||
125 | 125 | |
126 | 126 | return view( |
127 | 127 | 'transactions.split.edit', compact( |
128 | - 'subTitleIcon', 'currencies', 'optionalFields', 'preFilled', 'subTitle', 'uploadSize', 'budgets', |
|
129 | - 'journal', 'accountArray' |
|
130 | - ) |
|
128 | + 'subTitleIcon', 'currencies', 'optionalFields', 'preFilled', 'subTitle', 'uploadSize', 'budgets', |
|
129 | + 'journal', 'accountArray' |
|
130 | + ) |
|
131 | 131 | ); |
132 | 132 | } |
133 | 133 |
@@ -18,7 +18,7 @@ discard block |
||
18 | 18 | * You should have received a copy of the GNU General Public License |
19 | 19 | * along with Firefly III. If not, see <http://www.gnu.org/licenses/>. |
20 | 20 | */ |
21 | -declare(strict_types=1); |
|
21 | +declare(strict_types = 1); |
|
22 | 22 | |
23 | 23 | namespace FireflyIII\Http\Controllers\Transaction; |
24 | 24 | |
@@ -54,7 +54,7 @@ discard block |
||
54 | 54 | parent::__construct(); |
55 | 55 | |
56 | 56 | $this->middleware( |
57 | - function ($request, $next) { |
|
57 | + function($request, $next) { |
|
58 | 58 | app('view')->share('title', trans('firefly.transactions')); |
59 | 59 | app('view')->share('mainTitleIcon', 'fa-repeat'); |
60 | 60 | $this->repository = app(JournalRepositoryInterface::class); |
@@ -171,7 +171,7 @@ discard block |
||
171 | 171 | |
172 | 172 | // collect some useful meta data for the mass edit: |
173 | 173 | $filtered->each( |
174 | - function (TransactionJournal $journal) { |
|
174 | + function(TransactionJournal $journal) { |
|
175 | 175 | $transaction = $this->repository->getFirstPosTransaction($journal); |
176 | 176 | $currency = $transaction->transactionCurrency; |
177 | 177 | $journal->amount = (float)$transaction->amount; |
@@ -74,7 +74,6 @@ |
||
74 | 74 | * |
75 | 75 | * @return \Illuminate\Http\JsonResponse |
76 | 76 | * |
77 | - |
|
78 | 77 | */ |
79 | 78 | public function search(Request $request, SearchInterface $searcher) |
80 | 79 | { |
@@ -72,8 +72,6 @@ discard block |
||
72 | 72 | * |
73 | 73 | * @return View |
74 | 74 | * |
75 | - |
|
76 | - |
|
77 | 75 | */ |
78 | 76 | public function create(Request $request, RuleGroup $ruleGroup) |
79 | 77 | { |
@@ -167,10 +165,6 @@ discard block |
||
167 | 165 | * |
168 | 166 | * @return View |
169 | 167 | * |
170 | - |
|
171 | - |
|
172 | - |
|
173 | - |
|
174 | 168 | */ |
175 | 169 | public function edit(Request $request, RuleRepositoryInterface $repository, Rule $rule) |
176 | 170 | { |
@@ -364,7 +358,6 @@ discard block |
||
364 | 358 | * |
365 | 359 | * @return \Illuminate\Http\JsonResponse |
366 | 360 | * |
367 | - |
|
368 | 361 | */ |
369 | 362 | public function testTriggers(TestRuleFormRequest $request) |
370 | 363 | { |
@@ -413,7 +406,6 @@ discard block |
||
413 | 406 | * |
414 | 407 | * @return \Illuminate\Http\JsonResponse |
415 | 408 | * |
416 | - |
|
417 | 409 | */ |
418 | 410 | public function testTriggersByRule(Rule $rule) |
419 | 411 | { |
@@ -539,7 +531,6 @@ discard block |
||
539 | 531 | * |
540 | 532 | * @return array |
541 | 533 | * |
542 | - |
|
543 | 534 | */ |
544 | 535 | private function getCurrentActions(Rule $rule) |
545 | 536 | { |
@@ -569,7 +560,6 @@ discard block |
||
569 | 560 | * |
570 | 561 | * @return array |
571 | 562 | * |
572 | - |
|
573 | 563 | */ |
574 | 564 | private function getCurrentTriggers(Rule $rule) |
575 | 565 | { |
@@ -601,7 +591,6 @@ discard block |
||
601 | 591 | * |
602 | 592 | * @return array |
603 | 593 | * |
604 | - |
|
605 | 594 | */ |
606 | 595 | private function getPreviousActions(Request $request) |
607 | 596 | { |
@@ -632,7 +621,6 @@ discard block |
||
632 | 621 | * |
633 | 622 | * @return array |
634 | 623 | * |
635 | - |
|
636 | 624 | */ |
637 | 625 | private function getPreviousTriggers(Request $request) |
638 | 626 | { |
@@ -41,7 +41,6 @@ discard block |
||
41 | 41 | * |
42 | 42 | * @return mixed|string |
43 | 43 | * |
44 | - |
|
45 | 44 | */ |
46 | 45 | public function expenses(AccountTaskerInterface $tasker, Collection $accounts, Carbon $start, Carbon $end) |
47 | 46 | { |
@@ -70,7 +69,6 @@ discard block |
||
70 | 69 | * |
71 | 70 | * @return string |
72 | 71 | * |
73 | - |
|
74 | 72 | */ |
75 | 73 | public function income(AccountTaskerInterface $tasker, Collection $accounts, Carbon $start, Carbon $end) |
76 | 74 | { |
@@ -100,7 +98,6 @@ discard block |
||
100 | 98 | * |
101 | 99 | * @return mixed|string |
102 | 100 | * |
103 | - |
|
104 | 101 | */ |
105 | 102 | public function operations(AccountTaskerInterface $tasker, Collection $accounts, Carbon $start, Carbon $end) |
106 | 103 | { |
@@ -41,7 +41,6 @@ |
||
41 | 41 | * |
42 | 42 | * @return mixed|string |
43 | 43 | * |
44 | - |
|
45 | 44 | */ |
46 | 45 | public function general(BalanceReportHelperInterface $helper, Collection $accounts, Carbon $start, Carbon $end) |
47 | 46 | { |
@@ -42,7 +42,6 @@ discard block |
||
42 | 42 | * |
43 | 43 | * @return mixed|string |
44 | 44 | * |
45 | - |
|
46 | 45 | */ |
47 | 46 | public function general(BudgetReportHelperInterface $helper, Collection $accounts, Carbon $start, Carbon $end) |
48 | 47 | { |
@@ -71,7 +70,6 @@ discard block |
||
71 | 70 | * |
72 | 71 | * @return mixed|string |
73 | 72 | * |
74 | - |
|
75 | 73 | */ |
76 | 74 | public function period(Collection $accounts, Carbon $start, Carbon $end) |
77 | 75 | { |