Completed
Push — master ( a8824e...5b13ac )
by wen
03:16
created

ActionLogTrait   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A bootActionLogTrait() 0 5 1
1
<?php
2
3
4
namespace Sco\ActionLog\Traits;
5
6
use Illuminate\Database\Eloquent\Model;
7
8
trait ActionLogTrait
9
{
10
    public static function bootActionLogTrait()
11
    {
12
        static::saved(function (Model $model) {
0 ignored issues
show
Unused Code introduced by
The parameter $model is not used and could be removed.

This check looks from parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
13
        });
14
    }
15
}
16