Completed
Push — test ( 5bf343...41c779 )
by Temitope
03:44
created

EmptyArrayException::create()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %
Metric Value
dl 0
loc 5
rs 9.4285
cc 1
eloc 2
nc 1
nop 1
1
<?php
2
3
/**
4
 * @package  Laztopaz\potato-ORM
5
 * @author   Temitope Olotin <[email protected]>
6
 * @license  <https://opensource.org/license/MIT> MIT
7
 */
8
9
namespace Laztopaz\PotatoORM;
10
11
use Exception;
12
13
class EmptyArrayException extends Exception {
14
15
    public static function create($message)
16
    {
17
        return new static($message);
18
        
19
    }
20
21
}
22