Jam_Exception_Upload::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 3
CRAP Score 1

Importance

Changes 0
Metric Value
dl 0
loc 4
ccs 3
cts 3
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
crap 1
1
<?php defined('SYSPATH') OR die('No direct access allowed.'); 
2
3
/**
4
 * Jam_Exception_Upload class
5
 *
6
 * @package    Despark/jam
7
 * @author     Yasen Yanev
8
 * @copyright  (c) 2014 Despark Ltd.
9
 * @license    http://creativecommons.org/licenses/by-sa/3.0/legalcode
10
 */
11
class Jam_Exception_Upload extends Kohana_Jam_Exception_Upload {
12
	
13 5
	function __construct($message, $fields = NULL)
0 ignored issues
show
Best Practice introduced by
It is generally recommended to explicitly declare the visibility for methods.

Adding explicit visibility (private, protected, or public) is generally recommend to communicate to other developers how, and from where this method is intended to be used.

Loading history...
14
	{
15 5
		parent::__construct($message, $fields);
16
	}
17
}