1 | <?php |
||
18 | class AppIsInstalled |
||
19 | { |
||
20 | /** |
||
21 | * Run the app is installed middleware. |
||
22 | * |
||
23 | * We're verifying that Gitamin is correctly installed. If it is, then we're |
||
24 | * redirecting the user to the dashboard so they can use Gitamin. |
||
25 | * |
||
26 | * @param \Illuminate\Routing\Route $route |
||
|
|||
27 | * @param \Closure $next |
||
28 | * |
||
29 | * @return mixed |
||
30 | */ |
||
31 | public function handle($request, Closure $next) |
||
39 | } |
||
40 |
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.