| 1 | <?php |
||
| 12 | class AlertEndpointController extends AbstractEndpointController |
||
| 13 | { |
||
| 14 | public function __construct( |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Returns a single alert's information |
||
| 26 | * |
||
| 27 | * @see AbstractEndpointController::respondWithItem |
||
| 28 | * |
||
| 29 | * @param Symfony\Component\HttpFoundation\Request $request |
||
| 30 | * @param Symfony\Component\HttpFoundation\Response $response |
||
| 31 | * @param array |
||
| 32 | * |
||
| 33 | * @return array |
||
| 34 | */ |
||
| 35 | public function getSingle(Request $request, Response $response, array $args) |
||
| 45 | } |
||
| 46 |
Our type inference engine has found an assignment to a property that is incompatible with the declared type of that property.
Either this assignment is in error or the assigned type should be added to the documentation/type hint for that property..