1 | <?php |
||
18 | class UnitTest extends \PHPUnit\Framework\TestCase |
||
19 | { |
||
20 | /** |
||
21 | * @var TreeConverter |
||
22 | */ |
||
23 | protected $tree; |
||
24 | |||
25 | /** |
||
26 | * @var Unit |
||
27 | */ |
||
28 | protected $byte; |
||
29 | |||
30 | /** |
||
31 | * @var Unit |
||
32 | */ |
||
33 | protected $kilo; |
||
34 | |||
35 | /** |
||
36 | * @var Unit |
||
37 | */ |
||
38 | protected $mega; |
||
39 | |||
40 | protected function setUp() |
||
47 | |||
48 | public function testGetCanon() |
||
55 | } |
||
56 |
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..