| 1 | <?php |
||
| 7 | class GatewayManager |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var Request |
||
| 11 | */ |
||
| 12 | protected $request; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var ParserInterface |
||
| 16 | */ |
||
| 17 | protected $parser; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var HandlerInterface |
||
| 21 | */ |
||
| 22 | protected $handler; |
||
| 23 | |||
| 24 | |||
| 25 | public function __construct(AbstractHandler $handler, Request $request) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * Parse the inbound request. |
||
| 36 | * |
||
| 37 | * @return ParserInterface |
||
| 38 | */ |
||
| 39 | public function parse() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Run the handler. |
||
| 46 | * |
||
| 47 | * @return ?? |
||
| 48 | */ |
||
| 49 | public function runHandler() |
||
| 53 | } |
||
| 54 |
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..