| Conditions | 1 | 
| Paths | 1 | 
| Total Lines | 10 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 37 | public function onConstruct()  | 
            ||
| 38 |     { | 
            ||
| 39 | $this->model = new PaymentMethodsCreds();  | 
            ||
| 40 | $this->additionalSearchFields = [  | 
            ||
| 41 | ['is_deleted', ':', '0'],  | 
            ||
| 42 | ['users_id', ':', $this->userData->getId()],  | 
            ||
| 43 | ['companies_id', ':', '0|' . $this->userData->currentCompanyId()],  | 
            ||
| 44 | ['apps_id', ':', $this->app->getId()]  | 
            ||
| 45 | ];  | 
            ||
| 46 | }  | 
            ||
| 47 | |||
| 65 | 
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
$italyis not defined by the methodfinale(...).The most likely cause is that the parameter was removed, but the annotation was not.