| Conditions | 1 |
| Paths | 1 |
| Total Lines | 7 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function syncSchemata(Collection $collection, array $schemata) |
||
| 40 | { |
||
| 41 | return false; |
||
| 42 | // Remove all indices that match the expected format (modlr_md5hash) and are NOT present in $schemata |
||
| 43 | |||
| 44 | // Loop over $schemata and force update or remove/add index. Ensure background:true |
||
| 45 | } |
||
| 46 | } |
||
| 47 |
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.