Total Complexity | 5 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
13 | final class ProductVariantsDepositExtensionSpec extends ObjectBehavior |
||
14 | { |
||
15 | function let( |
||
|
|||
16 | ProductVariantsDepositHelper $productVariantsDepositHelper |
||
17 | ): void { |
||
18 | $this->beConstructedWith($productVariantsDepositHelper); |
||
19 | } |
||
20 | |||
21 | function it_is_initializable(): void |
||
22 | { |
||
23 | $this->shouldHaveType(ProductVariantsDepositExtension::class); |
||
24 | } |
||
25 | |||
26 | function it_extends_twig_extension(): void |
||
27 | { |
||
28 | $this->shouldHaveType(AbstractExtension::class); |
||
29 | } |
||
30 | |||
31 | function it_returns_functions(): void |
||
37 | } |
||
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.