1 | <?php |
||
11 | class ElfinderController extends Controller |
||
12 | { |
||
13 | /** |
||
14 | * $responseFactory. |
||
15 | * |
||
16 | * @var \Illuminate\Contracts\Routing\ResponseFactory |
||
17 | */ |
||
18 | protected $responseFactory; |
||
19 | |||
20 | /** |
||
21 | * __construct. |
||
22 | * |
||
23 | * @param \Illuminate\Contracts\Routing\ResponseFactory $responseFactory |
||
24 | */ |
||
25 | public function __construct(ResponseFactory $responseFactory) |
||
29 | |||
30 | /** |
||
31 | * elfinder. |
||
32 | * |
||
33 | * @param \Illuminate\Http\Request $request |
||
34 | * @return \Illuminate\Http\Response |
||
35 | */ |
||
36 | public function elfinder(Request $request) |
||
45 | |||
46 | /** |
||
47 | * connector. |
||
48 | * |
||
49 | * @param \Recca0120\Elfinder\Connector $elfinder |
||
|
|||
50 | * @return mixed |
||
51 | */ |
||
52 | public function connector(Connector $connector) |
||
56 | |||
57 | /** |
||
58 | * sound. |
||
59 | * |
||
60 | * @param \Illuminate\Filesystem\Filesystem $files |
||
61 | * @param \Illuminate\Http\Request $request |
||
62 | * @param string $file |
||
63 | * @return \Illuminate\Http\Response |
||
64 | */ |
||
65 | public function sound(Filesystem $files, Request $request, $file) |
||
92 | } |
||
93 |
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.