| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | final class OptionBuilderSpec extends ObjectBehavior |
||
| 24 | { |
||
| 25 | function let( |
||
|
|
|||
| 26 | ConcatedNameResolverInterface $optionNameResolver, |
||
| 27 | StringFormatterInterface $stringFormatter |
||
| 28 | ): void { |
||
| 29 | $this->beConstructedWith($optionNameResolver, $stringFormatter); |
||
| 30 | } |
||
| 31 | |||
| 32 | function it_is_initializable(): void |
||
| 36 | } |
||
| 37 | |||
| 38 | function it_implements_property_builder_interface(): void |
||
| 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.