1 | <?php |
||
10 | class TransformableCollectionTest extends TestCase |
||
11 | { |
||
12 | /** |
||
13 | * @var TransformableCollection |
||
14 | */ |
||
15 | protected $collection; |
||
16 | |||
17 | public function setUp() |
||
23 | |||
24 | /** |
||
25 | * @test |
||
26 | * @group unit |
||
27 | */ |
||
28 | public function it_builds_the_expected_path_the_the_transformer_for_short_name() |
||
32 | |||
33 | /** |
||
34 | * @test |
||
35 | * @expectedException \Spinen\Transformers\Exceptions\TransformerNotFoundException |
||
36 | * @group unit |
||
37 | */ |
||
38 | public function it_raises_exception_when_the_transformer_does_not_exist() |
||
42 | |||
43 | /** |
||
44 | * @test |
||
45 | * @group unit |
||
46 | */ |
||
47 | public function it_allows_transformation() |
||
51 | |||
52 | /** |
||
53 | * @test |
||
54 | * @group unit |
||
55 | */ |
||
56 | public function it_allows_transformation_with_pagination() |
||
63 | } |
||
64 | |||
91 |
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..