Total Complexity | 3 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | final class ProductTaxonsMapperSpec extends ObjectBehavior |
||
23 | { |
||
24 | function it_is_initializable(): void |
||
|
|||
25 | { |
||
26 | $this->shouldHaveType(ProductTaxonsMapper::class); |
||
27 | } |
||
28 | |||
29 | function it_implements_product_taxons_mapper_interface(): void |
||
30 | { |
||
31 | $this->shouldHaveType(ProductTaxonsMapperInterface::class); |
||
32 | } |
||
33 | |||
34 | function it_maps_to_unique_codes( |
||
48 | } |
||
49 | } |
||
50 |
Adding explicit visibility (
private
,protected
, orpublic
) is generally recommend to communicate to other developers how, and from where this method is intended to be used.