InvalidObjectTypeException::__construct()   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 1
Bugs 1 Features 1
Metric Value
cc 1
eloc 1
nc 1
nop 3
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 1
b 1
f 1
1
<?php
2
namespace Ballen\Cartographer\Exceptions;
3
4
/**
5
 * Cartographer
6
 *
7
 * Cartographer is a PHP library providing the ability to programmatically
8
 * generate GeoJSON objects.
9
 *
10
 * @author Bobby Allen <[email protected]>
11
 * @license http://www.gnu.org/licenses/gpl-3.0.html
12
 * @link https://github.com/allebb/cartographer
13
 * @link http://bobbyallen.me
14
 *
15
 */
16
class InvalidObjectTypeException extends \Exception
17
{
18
19
    public function __construct($message, $code = 0, Exception $previous = null)
0 ignored issues
show
Bug introduced by
The type Ballen\Cartographer\Exceptions\Exception was not found. Did you mean Exception? If so, make sure to prefix the type with \.
Loading history...
20
    {
21
        parent::__construct($message, $code, $previous);
22
    }
23
}
24