1 | <?php |
||
2 | |||
3 | namespace Lagdo\DbAdmin\Driver\Utils; |
||
4 | |||
5 | class Utils |
||
6 | { |
||
7 | /** |
||
8 | * @var TranslatorInterface |
||
9 | */ |
||
10 | public $trans; |
||
11 | |||
12 | /** |
||
13 | * @var Input |
||
14 | */ |
||
15 | public $input; |
||
16 | |||
17 | /** |
||
18 | * @var Str |
||
19 | */ |
||
20 | public $str; |
||
21 | |||
22 | /** |
||
23 | * @var History |
||
24 | */ |
||
25 | public $history; |
||
26 | |||
27 | /** |
||
28 | * @param TranslatorInterface $trans |
||
29 | * @param Input $input |
||
30 | * @param Str $str |
||
31 | * @param History $history |
||
32 | */ |
||
33 | public function __construct(TranslatorInterface $trans, Input $input, Str $str, History $history) |
||
34 | { |
||
35 | $this->trans = $trans; |
||
36 | $this->input = $input; |
||
37 | $this->str = $str; |
||
0 ignored issues
–
show
|
|||
38 | $this->history = $history; |
||
39 | } |
||
40 | } |
||
41 |
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..