| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class ProductsByPartialNameQueryBuilderSpec extends ObjectBehavior |
||
| 21 | { |
||
| 22 | function let(QueryBuilderInterface $containsNameQueryBuilder): void |
||
|
|
|||
| 23 | { |
||
| 24 | $this->beConstructedWith($containsNameQueryBuilder); |
||
| 25 | } |
||
| 26 | |||
| 27 | function it_is_a_query_builder(): void |
||
| 30 | } |
||
| 31 | |||
| 32 | function it_builds_query( |
||
| 39 | } |
||
| 40 | } |
||
| 41 |
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.