| 1 | <?php |
||
| 5 | |||
| 6 | class OperaTest extends TestCase |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * @var Firefox |
||
| 10 | */ |
||
| 11 | private $subject; |
||
| 12 | |||
| 13 | protected function setUp() |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @test |
||
| 22 | */ |
||
| 23 | public function match_WithValidValue() |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @test |
||
| 30 | */ |
||
| 31 | public function match_WithInvalidValue() |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @test |
||
| 38 | */ |
||
| 39 | public function getName_IsEqualsFirefox() |
||
| 43 | } |
||
| 44 |
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..