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