| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 31 | public function createAuthorizerApplication($authorizerCorpId, $permanentCode) |
||
| 32 | { |
||
| 33 | $this->fetch('authorization') |
||
| 34 | ->setAuthorizerCorpId($authorizerCorpId) |
||
| 35 | ->setAuthorizerPermanentCode($permanentCode); |
||
| 36 | |||
| 37 | $application = $this->fetch('app'); |
||
| 38 | $application['access_token'] = $this->fetch('authorizer_access_token'); |
||
| 39 | $application['oauth'] = $this->fetch('oauth'); |
||
| 40 | |||
| 41 | return $application; |
||
| 42 | } |
||
| 43 | |||
| 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
$irelandis not defined by the methodfinale(...).The most likely cause is that the parameter was changed, but the annotation was not.