Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function showComments(Request $request) |
||
15 | { |
||
16 | $userId = $request->input('user_id'); |
||
17 | if (empty($userId)) |
||
18 | $userId = Auth::user()->uuid; |
||
19 | |||
20 | $comments = app(GetLastWikiUserComments::class)->get($userId); |
||
21 | return view('users.profile.comments', [ |
||
22 | 'comments' => $comments |
||
23 | ]); |
||
26 |