Passed
Pull Request — 1.11.x (#4505)
by Angel Fernando Quiroz
16:24 queued 06:00
created

ExternalNotificationConnectHookObserver   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 8 1
1
<?php
2
3
/* For licensing terms, see /license.txt */
4
5
abstract class ExternalNotificationConnectHookObserver extends HookObserver
6
{
7
    /**
8
     * @var ExternalNotificationConnectPlugin
9
     */
10
    protected $plugin;
11
12
    protected function __construct()
13
    {
14
        parent::__construct(
15
            'plugin/externalnotificationconnect/src/ExternalNotificationConnectPlugin.php',
16
            'externalnotificationconnect'
17
        );
18
19
        $this->plugin = ExternalNotificationConnectPlugin::create();
20
    }
21
}
22