1 | <?php |
||
21 | class UserSessionsController extends AuthorizedController |
||
22 | { |
||
23 | /** |
||
24 | * Show the account sessions. |
||
25 | * |
||
26 | * @return \Illuminate\Http\Response |
||
|
|||
27 | */ |
||
28 | public function index() |
||
32 | |||
33 | /** |
||
34 | * Flush the given session. |
||
35 | * |
||
36 | * @param string $token |
||
37 | * |
||
38 | * @return \Illuminate\Http\JsonResponse|\Illuminate\Http\RedirectResponse |
||
39 | */ |
||
40 | public function flush($token = null) |
||
57 | } |
||
58 |
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.