mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Various code cleanup and fixed alignments.
This commit is contained in:
		| @@ -76,7 +76,7 @@ class DeleteController extends Controller | ||||
| 
 | ||||
|         app('log')->debug(sprintf('Start of delete view for group #%d', $group->id)); | ||||
| 
 | ||||
|         $journal = $group->transactionJournals->first(); | ||||
|         $journal    = $group->transactionJournals->first(); | ||||
|         if (null === $journal) { | ||||
|             throw new NotFoundHttpException(); | ||||
|         } | ||||
| @@ -100,7 +100,7 @@ class DeleteController extends Controller | ||||
|             return $this->redirectGroupToAccount($group); | ||||
|         } | ||||
| 
 | ||||
|         $journal = $group->transactionJournals->first(); | ||||
|         $journal    = $group->transactionJournals->first(); | ||||
|         if (null === $journal) { | ||||
|             throw new NotFoundHttpException(); | ||||
|         } | ||||
| @@ -108,7 +108,7 @@ class DeleteController extends Controller | ||||
|         session()->flash('success', (string)trans('firefly.deleted_'.strtolower($objectType), ['description' => $group->title ?? $journal->description])); | ||||
| 
 | ||||
|         // grab asset account(s) from group:
 | ||||
|         $accounts = []; | ||||
|         $accounts   = []; | ||||
| 
 | ||||
|         /** @var TransactionJournal $currentJournal */ | ||||
|         foreach ($group->transactionJournals as $currentJournal) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user