@@ -21,7 +21,7 @@ |
||
21 | 21 | |
22 | 22 | public function showRelations() |
23 | 23 | { |
24 | - $users = $this->auth->relations()->with(['relatedUser' => fn (BelongsTo $builder) => $builder->withTrashed()])->get()->pluck('relatedUser'); |
|
24 | + $users = $this->auth->relations()->with(['relatedUser' => fn(BelongsTo $builder) => $builder->withTrashed()])->get()->pluck('relatedUser'); |
|
25 | 25 | |
26 | 26 | return $this->view('user.relations', [ |
27 | 27 | 'users' => UserResource::collection($users) |