Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
22 | final class SoldUnitsPropertyBuilderSpec extends ObjectBehavior |
||
23 | { |
||
24 | function let(OrderItemRepositoryInterface $orderItemRepository): void |
||
|
|||
25 | { |
||
26 | $this->beConstructedWith($orderItemRepository, 'sold_units'); |
||
27 | } |
||
28 | |||
29 | function it_is_initializable(): void |
||
33 | } |
||
34 | |||
35 | function it_implements_property_builder_interface(): void |
||
38 | } |
||
39 | |||
40 | function it_consumes_event(TransformEvent $event): void |
||
43 | } |
||
44 | } |
||
45 |
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.