Test Failed
Push — develop ( 6f947a...7aea1a )
by Paul
18:36
created

Hooks   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
wmc 1
eloc 4
c 1
b 0
f 1
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 5 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Integrations\CloudFlare;
4
5
use GeminiLabs\SiteReviews\Integrations\IntegrationHooks;
6
7
class Hooks extends IntegrationHooks
8
{
9
    public function run(): void
10
    {
11
        $this->hook(Controller::class, [
12
            ['filterPurgeActions', 'cloudflare_purge_url_actions'],
13
            ['filterPurgeEverythingActions', 'cloudflare_purge_everything_actions'],
14
        ]);
15
    }
16
}
17