1 | <?php |
||
5 | class Hunter extends HunterClient |
||
6 | { |
||
7 | public function account() |
||
15 | |||
16 | public function domainSearch($domain = null) |
||
23 | |||
24 | public function emailCount($domain = null) |
||
31 | |||
32 | public function emailFinder($domain = null) |
||
39 | |||
40 | /** |
||
41 | * @deprecated v1.1.0 |
||
42 | */ |
||
43 | public function emailVerifier() |
||
47 | |||
48 | public function verifyEmail($email) |
||
52 | } |
||
53 |
This check compares calls to functions or methods with their respective definitions. If the call has more arguments than are defined, it raises an issue.
If a function is defined several times with a different number of parameters, the check may pick up the wrong definition and report false positives. One codebase where this has been known to happen is Wordpress.
In this case you can add the
@ignore
PhpDoc annotation to the duplicate definition and it will be ignored.