Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | final class AttributeTaxonsBuilderSpec extends ObjectBehavior |
||
23 | { |
||
24 | function let(TaxonRepositoryInterface $taxonRepository): void |
||
|
|||
25 | { |
||
26 | $this->beConstructedWith( |
||
27 | $taxonRepository, |
||
28 | 'taxons' |
||
29 | ); |
||
30 | } |
||
31 | |||
32 | function it_is_initializable(): void |
||
36 | } |
||
37 | |||
38 | function it_implements_property_builder_interface(): void |
||
39 | { |
||
40 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
41 | } |
||
42 | |||
43 | function it_consumes_event(TransformEvent $event): void |
||
46 | } |
||
47 | } |
||
48 |
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.