Total Complexity | 5 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
12 | final class ChannelDepositSpec extends ObjectBehavior |
||
13 | { |
||
14 | function it_is_channel_deposit(): void |
||
|
|||
15 | { |
||
16 | $this->shouldHaveType(ChannelDeposit::class); |
||
17 | } |
||
18 | |||
19 | function it_implements_channel_deposit_interface(): void |
||
22 | } |
||
23 | |||
24 | function it_has_price(): void |
||
30 | } |
||
31 | |||
32 | function it_has_product_variant(ProductVariantInterface $productVariant): void |
||
38 | } |
||
39 | |||
40 | function is_has_channel_code(): void |
||
48 |
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.