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