Test Failed
Push — main ( 1f99c7...ac1cad )
by Rafael
61:18
created

AdherentTypeController   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 8
dl 0
loc 14
rs 10
c 1
b 0
f 0
wmc 2

1 Method

Rating   Name   Duplication   Size   Complexity  
A index() 0 11 2
1
<?php
2
3
namespace Modules\Adherent\Controller;
4
5
use Alxarafe\Base\Controller;
6
7
class AdherentTypeController extends Controller
8
{
9
10
    public function index()
11
    {
12
        switch ($this->action) {
13
            case 'login':
14
                $this->template = 'login';
15
                break;
16
            default:
17
                $this->template = 'index';
18
        }
19
20
        parent::index();
21
    }
22
}