Passed
Push — master ( c21d64...956340 )
by Arthur
05:06
created

FoundationController::main()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
cc 1
eloc 1
nc 1
nop 0
dl 0
loc 3
ccs 0
cts 2
cp 0
crap 2
rs 10
c 0
b 0
f 0
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: arthur
5
 * Date: 10.10.18
6
 * Time: 02:18
7
 */
8
9
namespace Foundation\Controllers;
10
11
12
use Illuminate\Routing\Controller;
13
14
class FoundationController extends Controller
15
{
16
    public function main()
17
    {
18
        return response('welcome to astral');
19
    }
20
21
    public function api()
22
    {
23
        return response('Astral api');
24
    }
25
26 1
    public function authorized()
27
    {
28 1
        return response('authorized');
29
    }
30
}
31