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

NoRecordUpdateException   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 9
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A create() 0 5 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 NoRecordUpdateException extends  Exception {
0 ignored issues
show
Coding Style introduced by
Expected 1 space before "Exception"; 2 found
Loading history...
14
    
15
    public static function create($message)
16
    {
17
        return new static($message);
18
        
19
    }
20
21
}
22