mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-18 10:39:28 +00:00
Code cleanup for scrutinizer.
This commit is contained in:
@@ -65,7 +65,7 @@ class PiggyBank extends Model
|
||||
*
|
||||
* @return PiggyBank
|
||||
*/
|
||||
public static function routeBinder(self $value)
|
||||
public static function routeBinder(PiggyBank $value)
|
||||
{
|
||||
if (auth()->check()) {
|
||||
if (intval($value->account->user_id) === auth()->user()->id) {
|
||||
|
Reference in New Issue
Block a user