Passed
Push — master ( 020853...70d0c6 )
by Biao
03:06
created

JWTCleaner   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 6
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A clean() 0 4 1
1
<?php
2
3
namespace Hhxsv5\LaravelS\Illuminate\Cleaners;
4
5
use Illuminate\Container\Container;
6
use Illuminate\Support\Facades\Facade;
7
8
class JWTCleaner implements CleanerInterface
9
{
10
    public function clean(Container $app)
11
    {
12
        $app->forgetInstance('tymon.jwt');
13
        Facade::clearResolvedInstance('tymon.jwt');
14
    }
15
}