| 1 | <?php |
||
| 11 | abstract class EcommerceResponse extends SS_HTTPResponse |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param string $status the status to return |
||
| 15 | * @param string $message the message to return with the retur |
||
|
|
|||
| 16 | * @param null | Array $data, that should be included |
||
| 17 | */ |
||
| 18 | public function ReturnCartData(array $messages = array(), array $additionalData = null, $status = 'success') |
||
| 22 | } |
||
| 23 |
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.