1 | <?php |
||
15 | class CDCController extends Controller |
||
16 | { |
||
17 | /** |
||
18 | * Display a listing of the resource. |
||
19 | * |
||
20 | * @return \Illuminate\Http\Response |
||
|
|||
21 | */ |
||
22 | public function index() |
||
30 | |||
31 | /** |
||
32 | * Show the form for creating a new resource. |
||
33 | * |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | public function create() |
||
40 | |||
41 | /** |
||
42 | * Store a newly created resource in storage. |
||
43 | * |
||
44 | * @param \Illuminate\Http\Request $request |
||
45 | * |
||
46 | * @return \Illuminate\Http\RedirectResponse |
||
47 | */ |
||
48 | public function store(Request $request) |
||
74 | } |
||
75 |
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.