We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
| 1 | <?php |
||
| 19 | class BackendController extends PluginEngine |
||
| 20 | { |
||
| 21 | /** |
||
| 22 | * Display a listing of the resource. |
||
| 23 | * |
||
| 24 | * @param NewsletterRepository $repository |
||
| 25 | * @return \Illuminate\Contracts\View\View |
||
| 26 | */ |
||
| 27 | public function index(NewsletterRepository $repository) |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Show the form for creating a new resource. |
||
| 34 | * |
||
| 35 | * @return \Illuminate\Http\Response |
||
|
|
|||
| 36 | */ |
||
| 37 | public function create() |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Store a newly created resource in storage. |
||
| 44 | * |
||
| 45 | * @param \Illuminate\Http\Request $request |
||
| 46 | * @return \Illuminate\Http\Response |
||
| 47 | */ |
||
| 48 | public function store(Request $request) |
||
| 52 | |||
| 53 | /** |
||
| 54 | * Display the specified resource. |
||
| 55 | * |
||
| 56 | * @param int $id |
||
| 57 | * @return \Illuminate\Http\Response |
||
| 58 | */ |
||
| 59 | public function show($id) |
||
| 63 | |||
| 64 | /** |
||
| 65 | * Show the form for editing the specified resource. |
||
| 66 | * |
||
| 67 | * @param int $id |
||
| 68 | * @return \Illuminate\Http\Response |
||
| 69 | */ |
||
| 70 | public function edit($id) |
||
| 74 | |||
| 75 | /** |
||
| 76 | * Update the specified resource in storage. |
||
| 77 | * |
||
| 78 | * @param \Illuminate\Http\Request $request |
||
| 79 | * @param int $id |
||
| 80 | * @return \Illuminate\Http\Response |
||
| 81 | */ |
||
| 82 | public function update(Request $request, $id) |
||
| 86 | |||
| 87 | /** |
||
| 88 | * Remove the specified resource from storage. |
||
| 89 | * |
||
| 90 | * @param int $id |
||
| 91 | * @return \Illuminate\Http\Response |
||
| 92 | */ |
||
| 93 | public function destroy($id) |
||
| 97 | } |
||
| 98 |
This check compares the return type specified in the
@returnannotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.