1 | <?php |
||
10 | class Database implements DatabaseInterface |
||
11 | { |
||
12 | /**T |
||
13 | * @var RethinkInterface |
||
14 | */ |
||
15 | private $rethink; |
||
16 | |||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | private $message; |
||
21 | |||
22 | /** |
||
23 | * @param RethinkInterface $rethink |
||
24 | * @param MessageInterface $message |
||
25 | */ |
||
26 | public function __construct(RethinkInterface $rethink, MessageInterface $message) |
||
36 | |||
37 | /** |
||
38 | * @inheritdoc |
||
39 | */ |
||
40 | public function tableList(): DatabaseInterface |
||
52 | |||
53 | /** |
||
54 | * @inheritdoc |
||
55 | */ |
||
56 | public function tableCreate(string $name): DatabaseInterface |
||
72 | |||
73 | /** |
||
74 | * @inheritdoc |
||
75 | */ |
||
76 | public function tableDrop(string $name): DatabaseInterface |
||
92 | |||
93 | /** |
||
94 | * @return array |
||
95 | */ |
||
96 | public function run(): array |
||
100 | } |
||
101 |
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..