Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
27 | public function testCreateDmsDatabase() |
||
28 | { |
||
29 | /** @var ConnectionInterface $connection */ |
||
30 | $connection = $this->createMock(ConnectionInterface::class); |
||
31 | $dmsDatabase = $this->abstractDmsFactory->createDmsDatabase('test', $connection); |
||
32 | |||
33 | $this->assertTrue($dmsDatabase instanceof DmsDatabaseInterface); |
||
34 | } |
||
36 |
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..