| Total Complexity | 2 |
| Total Lines | 15 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 12 | class ClientSpec extends ObjectBehavior |
||
| 13 | { |
||
| 14 | function let( |
||
|
|
|||
| 15 | EventProcessor $eventProcessor, |
||
| 16 | CommandConsumerClient $commandConsumerClient, |
||
| 17 | Factory $factory, |
||
| 18 | EventConsumerClient $eventConsumerClient |
||
| 19 | ) |
||
| 20 | { |
||
| 21 | $this->beConstructedWith($eventProcessor, $commandConsumerClient, $factory, $eventConsumerClient); |
||
| 22 | } |
||
| 23 | |||
| 24 | function it_is_initializable() |
||
| 27 | } |
||
| 28 | } |
||
| 29 |
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.