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

FaultyOrNoTableException::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 2
Bugs 0 Features 2
Metric Value
c 2
b 0
f 2
dl 0
loc 6
rs 9.4285
cc 1
eloc 3
nc 1
nop 1
1
<?php
2
3
namespace Elchroy\PotatoORMExceptions;
4
5
class FaultyOrNoTableException 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