| 1 | <?php |
||
| 11 | class BpostInvalidLengthException extends BpostLogicException |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * BpostInvalidLengthException constructor. |
||
| 15 | * @param string $nameEntry |
||
| 16 | * @param int $invalidLength |
||
| 17 | * @param int $maximumLength |
||
| 18 | * @param int $code |
||
| 19 | * @param \Exception $previous |
||
|
|
|||
| 20 | */ |
||
| 21 | 14 | public function __construct($nameEntry, $invalidLength, $maximumLength, $code = 0, \Exception $previous = null) |
|
| 31 | } |
||
| 32 |
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.