Completed
Pull Request — master (#11)
by Elisha-Wigwe Chijioke
03:03
created

FaultyConnectionException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 3
Bugs 1 Features 2
Metric Value
wmc 1
c 3
b 1
f 2
lcom 0
cbo 0
dl 0
loc 11
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
1
<?php
2
3
namespace Elchroy\PotatoORMExceptions;
4
5
class FaultyConnectionException extends \PDOException
6
{
7
    public $message;
8
9
    public function __construct($message)
10
    {
11
        $this->message = $message;
12
13
        return $this->message;
0 ignored issues
show
Bug introduced by
Constructors do not have meaningful return values, anything that is returned from here is discarded. Are you sure this is correct?
Loading history...
14
    }
15
}
16