| 1 | <?php |
||
| 11 | class BpostInvalidDayException extends BpostInvalidValueException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @param string $invalidValue |
||
| 15 | * @param array $allowedValues |
||
| 16 | * @param int $code |
||
| 17 | * @param \Exception $previous |
||
|
|
|||
| 18 | */ |
||
| 19 | 2 | public function __construct($invalidValue, array $allowedValues, $code = 0, \Exception $previous = null) |
|
| 23 | } |
||
| 24 |
This check looks for
@paramannotations where the type inferred by our type inference engine differs from the declared type.It makes a suggestion as to what type it considers more descriptive.
Most often this is a case of a parameter that can be null in addition to its declared types.