1 | <?php |
||
18 | final class NullableMappingTest extends TestCase |
||
19 | { |
||
20 | |||
21 | /** |
||
22 | * @var NullableMapping |
||
23 | */ |
||
24 | private $mapping; |
||
25 | |||
26 | /** |
||
27 | * @var MappingInterface |
||
28 | */ |
||
29 | private $innerMapping; |
||
30 | |||
31 | /** |
||
32 | * @var Column |
||
33 | */ |
||
34 | private $dbalColumn; |
||
35 | |||
36 | public function setUp() |
||
43 | |||
44 | /** |
||
45 | * @test |
||
46 | */ |
||
47 | public function shouldHaveDBALColumn() |
||
51 | |||
52 | /** |
||
53 | * @test |
||
54 | */ |
||
55 | public function shouldHaveDeterminatorColumnName() |
||
60 | |||
61 | /** |
||
62 | * @test |
||
63 | */ |
||
64 | public function shouldHaveInnerMapping() |
||
68 | |||
69 | /** |
||
70 | * @test |
||
71 | */ |
||
72 | public function shouldHaveOrigin() |
||
76 | |||
77 | /** |
||
78 | * @test |
||
79 | */ |
||
80 | public function shouldCollectDBALColumns() |
||
98 | |||
99 | } |
||
100 |
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..