| 1 | <?php |
||
| 16 | class ProxyExceptionListener extends HttpException |
||
| 17 | { |
||
| 18 | private $statusCode; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * ProxyExceptionListener constructor. |
||
| 22 | * @param int $statusCode valid response status code |
||
| 23 | * @param string $message explain the reason |
||
|
|
|||
| 24 | * @param int $code default info code Bad Request |
||
| 25 | */ |
||
| 26 | public function __construct( |
||
| 36 | } |
||
| 37 |
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.