Completed
Push — master ( 719266...e4b221 )
by Nate
06:18 queued 04:34
created

Dissociate::associationService()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 0
cts 4
cp 0
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 2
1
<?php
2
3
/**
4
 * @copyright  Copyright (c) Flipbox Digital Limited
5
 * @license    https://flipboxfactory.com/software/hubspot/license
6
 * @link       https://www.flipboxfactory.com/software/hubspot/
7
 */
8
9
namespace flipbox\hubspot\actions\objects;
10
11
use flipbox\craft\integration\actions\objects\Dissociate as DissociateIntegration;
12
use flipbox\craft\integration\services\IntegrationAssociations;
13
use flipbox\hubspot\HubSpot;
14
use flipbox\hubspot\services\ObjectAssociations;
15
16
/**
17
 * @author Flipbox Factory <[email protected]>
18
 * @since 1.0.0
19
 */
20
class Dissociate extends DissociateIntegration
21
{
22
    /**
23
     * @inheritdoc
24
     * @return ObjectAssociations
25
     */
26
    protected function associationService(): IntegrationAssociations
27
    {
28
        return HubSpot::getInstance()->getObjectAssociations();
29
    }
30
}
31