mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Code cleanup
This commit is contained in:
@@ -37,7 +37,7 @@ class IsAssetAccountId implements ValidationRule
|
||||
*/
|
||||
public function validate(string $attribute, mixed $value, \Closure $fail): void
|
||||
{
|
||||
$accountId = (int)$value;
|
||||
$accountId = (int) $value;
|
||||
|
||||
/** @var null|Account $account */
|
||||
$account = Account::with('accountType')->find($accountId);
|
||||
|
Reference in New Issue
Block a user