1 | <?php |
||
19 | class Suite |
||
20 | { |
||
21 | use PrefixedContainer; |
||
22 | |||
23 | /** |
||
24 | * Create an instance of the EntWeChat for the given authorizer. |
||
25 | * |
||
26 | * @param string $corpId Authorizer CorpId |
||
|
|||
27 | * @param string $permanentCode Authorizer permanent-code |
||
28 | * |
||
29 | * @return \EntWeChat\Foundation\Application |
||
30 | */ |
||
31 | public function createAuthorizerApplication($authorizerCorpId, $permanentCode) |
||
43 | |||
44 | /** |
||
45 | * Quick access to the base-api. |
||
46 | * |
||
47 | * @param string $method |
||
48 | * @param array $args |
||
49 | * |
||
50 | * @return mixed |
||
51 | */ |
||
52 | public function __call($method, $args) |
||
56 | } |
||
57 |
This check looks for PHPDoc comments describing methods or function parameters that do not exist on the corresponding method or function. It has, however, found a similar but not annotated parameter which might be a good fit.
Consider the following example. The parameter
$ireland
is not defined by the methodfinale(...)
.The most likely cause is that the parameter was changed, but the annotation was not.