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

ActionLogTrait::bootActionLogTrait()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4285
cc 1
eloc 2
nc 1
nop 0
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