Test Failed
Push — develop ( 514ddb...0ee1ea )
by Paul
09:58
created

Hooks   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A run() 0 4 1
1
<?php
2
3
namespace GeminiLabs\SiteReviews\Integrations\DuplicatePage;
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
            ['duplicateReview', 'admin_action_dt_duplicate_post_as_draft', 1],
13
        ]);
14
    }
15
}
16