1 | <?php |
||
17 | final class ArgumentCallFactoryTest extends TestCase |
||
18 | { |
||
19 | |||
20 | /** |
||
21 | * @var ArgumentCallFactory |
||
22 | */ |
||
23 | private $factory; |
||
24 | |||
25 | /** |
||
26 | * @var ArgumentFactory |
||
27 | */ |
||
28 | private $argumentFactory; |
||
29 | |||
30 | public function setUp() |
||
36 | |||
37 | /** |
||
38 | * @test |
||
39 | * @dataProvider dataProviderForShouldKnowIfUnderstandString |
||
40 | */ |
||
41 | public function shouldKnowIfUnderstandString(bool $expectedResult, string $source) |
||
48 | |||
49 | public function dataProviderForShouldKnowIfUnderstandString() |
||
60 | |||
61 | /** |
||
62 | * @test |
||
63 | * @dataProvider dataProviderForShouldKnowIfUnderstandArray |
||
64 | */ |
||
65 | public function shouldKnowIfUnderstandArray(bool $expectedResult, array $source) |
||
72 | |||
73 | public function dataProviderForShouldKnowIfUnderstandArray() |
||
82 | |||
83 | } |
||
84 |
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..