| Total Complexity | 3 |
| Total Lines | 18 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | final class HasOptionsQueryBuilderSpec extends ObjectBehavior |
||
| 21 | { |
||
| 22 | function it_is_initializable(): void |
||
|
|
|||
| 23 | { |
||
| 24 | $this->shouldHaveType(HasOptionsQueryBuilder::class); |
||
| 25 | } |
||
| 26 | |||
| 27 | function it_implements_query_builder_interface(): void |
||
| 28 | { |
||
| 29 | $this->shouldHaveType(QueryBuilderInterface::class); |
||
| 30 | } |
||
| 31 | |||
| 32 | function it_builds_query(): void |
||
| 38 | } |
||
| 39 | } |
||
| 40 |
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.