Total Complexity | 4 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | final class ProductShortDescriptionBuilderSpec extends ObjectBehavior |
||
15 | { |
||
16 | function let(ConcatedNameResolverInterface $productNameNameResolver): void |
||
|
|||
17 | { |
||
18 | $this->beConstructedWith($productNameNameResolver); |
||
19 | } |
||
20 | |||
21 | function it_is_initializable(): void |
||
25 | } |
||
26 | |||
27 | function it_implements_property_builder_interface(): void |
||
28 | { |
||
29 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
30 | } |
||
31 | |||
32 | function it_consumes_event(TransformEvent $event): void |
||
35 | } |
||
36 | } |
||
37 |
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.