| Total Complexity | 3 | 
| Total Lines | 24 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php | ||
| 21 | final class NamedProductsFinderSpec extends ObjectBehavior | ||
| 22 | { | ||
| 23 | function let( | ||
|  | |||
| 24 | QueryBuilderInterface $productsByPartialNameQueryBuilder, | ||
| 25 | FinderInterface $productsFinder | ||
| 26 |     ): void { | ||
| 27 | $this->beConstructedWith($productsByPartialNameQueryBuilder, $productsFinder); | ||
| 28 | } | ||
| 29 | |||
| 30 | function it_is_a_named_products_finder(): void | ||
| 33 | } | ||
| 34 | |||
| 35 | function it_finds_by_partial_name_of_products( | ||
| 47 | 
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.