BaseMiddleware::__construct()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
ccs 2
cts 2
cp 1
rs 10
cc 1
nc 1
nop 3
crap 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