1 | <?php |
||
9 | class HistoryController extends Controller |
||
10 | { |
||
11 | |||
12 | /** |
||
13 | * Show History of changes column |
||
14 | * |
||
15 | * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
16 | */ |
||
17 | public function index() |
||
22 | |||
23 | /** |
||
24 | * Show specific item by ID |
||
25 | * @param History $history |
||
|
|||
26 | * @return \Illuminate\Contracts\Foundation\Application|\Illuminate\Contracts\View\Factory|\Illuminate\View\View |
||
27 | */ |
||
28 | public function show($id) |
||
34 | } |
||
35 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function.
Consider the following example. The parameter
$italy
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was removed, but the annotation was not.