Conditions | 1 |
Paths | 1 |
Total Lines | 8 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 3 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
20 | public function edit(Request $request) |
||
21 | { |
||
22 | $countries = countries(); |
||
23 | $languages = collect(languages())->pluck('name', 'iso_639_1'); |
||
24 | $twoFactor = $request->user($this->getGuard())->getTwoFactor(); |
||
25 | |||
26 | return view('cortex/fort::frontend.account.settings', compact('twoFactor', 'countries', 'languages')); |
||
27 | } |
||
28 | |||
51 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.