| 1 | <?php |
||
| 16 | class LazyPropertyMapTest extends TestCase |
||
| 17 | { |
||
| 18 | /** |
||
| 19 | * @var \LazyMap\CallbackLazyMap |
||
| 20 | */ |
||
| 21 | protected $lazyMap; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var callable|\PHPUnit_Framework_MockObject_MockObject |
||
| 25 | */ |
||
| 26 | protected $callback; |
||
| 27 | |||
| 28 | protected function setUp() : void |
||
| 35 | |||
| 36 | public function testDirectPropertyAccess() |
||
| 53 | } |
||
| 54 |
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..