Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php namespace Anomaly\Streams\Platform\Addon\Console\Command; |
||
51 | public function handle(Filesystem $filesystem) |
||
52 | { |
||
53 | foreach ($this->copy as $copy) { |
||
54 | $filesystem->copyDirectory( |
||
55 | base_path('vendor/anomaly/streams-platform/resources/stubs/addons/resources/' . $copy), |
||
56 | "{$this->path}/resources/" . $copy |
||
57 | ); |
||
58 | } |
||
59 | } |
||
60 | } |
||
61 |
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.