mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-15 00:27:30 +00:00
Various code cleanup.
This commit is contained in:
@@ -144,7 +144,7 @@ class GracefulNotFoundHandler extends ExceptionHandler
|
||||
$route = $request->route();
|
||||
$param = $route->parameter('account');
|
||||
if ($param instanceof Account) {
|
||||
$accountId = (int)$param->id;
|
||||
$accountId = $param->id;
|
||||
}
|
||||
if (!($param instanceof Account)) {
|
||||
$accountId = (int)$param;
|
||||
|
Reference in New Issue
Block a user