mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-15 19:09:50 +00:00
Various code cleanup and fixed alignments.
This commit is contained in:
@@ -40,7 +40,7 @@ class IsAssetAccountId implements ValidationRule
|
||||
$accountId = (int)$value;
|
||||
|
||||
/** @var null|Account $account */
|
||||
$account = Account::with('accountType')->find($accountId);
|
||||
$account = Account::with('accountType')->find($accountId);
|
||||
if (null === $account) {
|
||||
$fail('validation.no_asset_account')->translate();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user