Completed
Push — develop ( 3b0920...64bbf6 )
by Abdelrahman
01:51
created

AuthenticatedController::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Cortex\Foundation\Http\Controllers;
6
7
class AuthenticatedController extends AbstractController
8
{
9
    /**
10
     * Create a new authenticated controller instance.
11
     */
12
    public function __construct()
13
    {
14
        parent::__construct();
15
16
        $this->middleware($this->getAuthMiddleware())->except($this->middlewareWhitelist]);
0 ignored issues
show
Bug introduced by
This code did not parse for me. Apparently, there is an error somewhere around this line:

Syntax error, unexpected ']', expecting ',' or ')'
Loading history...
17
    }
18
}
19