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