1 | <?php |
||
18 | class StatusController extends Controller { |
||
19 | |||
20 | /** |
||
21 | * @var OcrService |
||
22 | */ |
||
23 | private $service; |
||
24 | |||
25 | use Errors; |
||
26 | |||
27 | /** |
||
28 | * StatusController constructor. |
||
29 | * |
||
30 | * @param string $AppName |
||
31 | * @param IRequest $request |
||
32 | * @param StatusService $service |
||
33 | */ |
||
34 | public function __construct($AppName, IRequest $request, StatusService $service) { |
||
38 | |||
39 | /** |
||
40 | * Get the current status. |
||
41 | * @NoAdminRequired |
||
42 | * @return DataResponse |
||
43 | */ |
||
44 | public function getStatus() { |
||
49 | |||
50 | } |
||
51 |
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..