Completed
Push — master ( 9d3760...788380 )
by Ashley
01:05
created

Zapier   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 12
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 12
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A verify() 0 4 1
A headers() 0 4 1
1
<?php
2
3
namespace Clarkeash\Shield\Services;
4
5
use Illuminate\Http\Request;
6
7
class Zapier extends BaseService
8
{
9
    public function verify(Request $request): bool
10
    {
11
        return $this->checkBasic($request, config('shield.services.zapier.username'), config('shield.services.zapier.password'));
12
    }
13
14
    public function headers(): array
15
    {
16
        return [];
17
    }
18
}
19