BaseMiddleware   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 2
c 0
b 0
f 0
dl 0
loc 8
ccs 2
cts 2
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
1
<?php
2
3
namespace App\Http\Middleware;
4
5
use App\JWTAuth;
6
use Illuminate\Contracts\Events\Dispatcher;
7
use Illuminate\Contracts\Routing\ResponseFactory;
8
use Tymon\JWTAuth\Middleware\BaseMiddleware as JWTBaseMiddleware;
9
10
abstract class BaseMiddleware extends JWTBaseMiddleware
11
{
12
    /**
13
     * {@inheritdoc}
14
     */
15 33
    public function __construct(ResponseFactory $response, Dispatcher $events, JWTAuth $auth)
16
    {
17 33
        parent::__construct($response, $events, $auth);
18 33
    }
19
}
20