1 | <?php |
||
16 | final class RemoveProjectNamespaceCommand |
||
17 | { |
||
18 | /** |
||
19 | * The project team to remove. |
||
20 | * |
||
21 | * @var \Gitamin\Models\ProjectTeam |
||
22 | */ |
||
23 | public $namespace; |
||
24 | |||
25 | /** |
||
26 | * Create a new remove project team command instance. |
||
27 | * |
||
28 | * @param \Gitamin\Models\ProjectTeam $team |
||
|
|||
29 | * |
||
30 | * @return void |
||
31 | */ |
||
32 | public function __construct(ProjectNamespace $namespace) |
||
36 | } |
||
37 |
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.