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