| Total Complexity | 4 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | final class ChannelsBuilderSpec extends ObjectBehavior |
||
| 22 | { |
||
| 23 | function let(): void { |
||
|
|
|||
| 24 | $this->beConstructedWith('channels'); |
||
| 25 | } |
||
| 26 | |||
| 27 | function it_is_initializable(): void |
||
| 31 | } |
||
| 32 | |||
| 33 | function it_implements_property_builder_interface(): void |
||
| 34 | { |
||
| 35 | $this->shouldHaveType(PropertyBuilderInterface::class); |
||
| 36 | } |
||
| 37 | |||
| 38 | function it_consumes_event(TransformEvent $event): void |
||
| 41 | } |
||
| 42 | } |
||
| 43 |
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.