Test Failed
Push — master ( cae78d...9449e1 )
by 世昌
02:05
created

NullMiddlewareTrait::getMiddleware()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
namespace suda\orm\middleware;
3
4
use suda\orm\TableStruct;
5
use suda\orm\middleware\Middleware;
6
7
/**
8
 * 感知表结构
9
 */
10
trait NullMiddlewareTrait
11
{
12
    public static function getMiddleware(TableStruct $struct):Middleware
13
    {
14
        return new NullMiddleware;
15
    }
16
}
17