new_Intraface_modules_newsletter_SubscribersGateway()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
ccs 0
cts 3
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
class Intraface_GatewayFactory
3
{
4
    protected $mdb2;
5
    protected $db;
6
    protected $kernel;
7
8
    function __construct(MDB2_Driver_Common $mdb2, DB_Sql $db, Intraface_KernelGateway $kernel)
0 ignored issues
show
Unused Code introduced by
The parameter $mdb2 is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
9
    {
10
        $this->mdb2;
11
        $this->db = $db;
12
        $this->kernel = $kernel;
13
    }
14
15
    function new_Intraface_modules_newsletter_SubscribersGateway($user)
0 ignored issues
show
Unused Code introduced by
The parameter $user is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
16
    {
17
    }
18
}
19