Test Failed
Push — database ( c00359...bc8969 )
by Temitope
02:27
created

NullArgumentPassedToFunction   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A ckeckNullArgumentPassedToFunction() 0 4 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: andela
5
 * Date: 2/22/16
6
 * Time: 9:38 PM
7
 */
8
9
namespace Laztopaz\potatoORM;
10
11
use Exception;
12
13
class NullArgumentPassedToFunction  extends  Exception{
0 ignored issues
show
Coding Style introduced by
Expected 1 space after class name; 2 found
Loading history...
Coding Style introduced by
Expected 1 space before extends keyword; 2 found
Loading history...
14
15
	public static function ckeckNullArgumentPassedToFunction($message)
16
	{
17
		return new static ($message);
18
	}
19
20
}