1 | <?php |
||
6 | class MacintoshTest extends TestCase |
||
7 | { |
||
8 | /** |
||
9 | * |
||
10 | * @var Windows |
||
11 | */ |
||
12 | private $subject; |
||
13 | |||
14 | protected function setUp() |
||
20 | |||
21 | /** |
||
22 | * @test |
||
23 | * @dataProvider userAgentOsDataProvider |
||
24 | */ |
||
25 | public function match_WithValidValue($userAgent) |
||
29 | |||
30 | /** |
||
31 | * @test |
||
32 | */ |
||
33 | public function match_WithInvalidValue() |
||
37 | |||
38 | /** |
||
39 | * @test |
||
40 | */ |
||
41 | public function getName_returnsMacintosh() |
||
45 | |||
46 | public function userAgentOsDataProvider() |
||
62 | |||
63 | } |
||
64 |
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..