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

ckeckNullArgumentPassedToFunction()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 4
rs 10
cc 1
eloc 2
nc 1
nop 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
}