Completed
Push — master ( 2990ff...464782 )
by Ricardo
02:32
created

Hubspot::getConnection()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 1
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace Integrations\Connectors\Hubspot;
4
5
use Illuminate\Database\Eloquent\Model;
6
use Log;
7
use App\Models\User;
8
use Integrations\Connectors\Connector;
9
10
class Hubspot extends Connector
11
{
12
    public static $ID = 34;
13
    protected function getConnection($token = false)
14
    {
15
        $token = 'xxxxxxxxxxxxxxxxxxxxxxxxxxx';
16
        return new Pipedrive($token);
17
    }
18
}
19