| 1 | <?php |
||
| 6 | class UndefinedOperatingSystemTest extends TestCase |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var Windows |
||
| 10 | */ |
||
| 11 | private $subject; |
||
| 12 | |||
| 13 | protected function setUp() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @test |
||
| 22 | */ |
||
| 23 | public function match_AlwaysRreturnsFalse() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @test |
||
| 30 | */ |
||
| 31 | public function getName_returnsUndefined() |
||
| 35 | } |
||
| 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..