Foo::fooThrowThisException()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 1
dl 0
loc 4
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace DJStarCOM\NewRelic\Stub;
4
5
class Foo
6
{
7
    public function bar($argument = null)
8
    {
9
        return $argument;
10
    }
11
12
    public function fooThrowThisException(\Exception $exception)
13
    {
14
        throw $exception;
15
    }
16
17
    public function foo($argument = null)
0 ignored issues
show
Coding Style Best Practice introduced by
Please use __construct() instead of a PHP4-style constructor that is named after the class.
Loading history...
18
    {
19
        return $argument;
20
    }
21
}
22