Passed
Push — master ( a9574a...4c3e72 )
by Arthur
07:41
created

FoundationController   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Test Coverage

Coverage 33.33%

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 15
ccs 2
cts 6
cp 0.3333
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A api() 0 3 1
A main() 0 3 1
A authorized() 0 3 1
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
use Illuminate\Routing\Controller;
12
13
class FoundationController extends Controller
14
{
15
    public function main()
16
    {
17
        return response('welcome to astral');
18
    }
19
20
    public function api()
21
    {
22
        return response('Astral api');
23
    }
24
25 1
    public function authorized()
26
    {
27 1
        return response('authorized');
28
    }
29
}
30