MagicLinkController::access()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
c 0
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace MagicLink\Controllers;
4
5
use Illuminate\Routing\Controller;
6
use MagicLink\MagicLink;
7
8
class MagicLinkController extends Controller
9
{
10
    public function access($token)
11
    {
12
        return MagicLink::getMagicLinkByToken($token)->run();
13
    }
14
}
15