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