mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-10 12:24:50 +00:00
Code cleanup for scrutinizer.
This commit is contained in:
@@ -115,7 +115,7 @@ class Account extends Model
|
||||
*
|
||||
* @return Account
|
||||
*/
|
||||
public static function routeBinder(self $value)
|
||||
public static function routeBinder(Account $value)
|
||||
{
|
||||
if (auth()->check()) {
|
||||
if (intval($value->user_id) === auth()->user()->id) {
|
||||
|
||||
Reference in New Issue
Block a user