Passed
Branch master (3ad5d4)
by refat
26:57
created

HomeController::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
c 0
b 0
f 0
nc 1
nop 0
dl 0
loc 6
rs 10
1
<?php
2
3
namespace app\Controllers\Admin;
4
5
use System\Controller as Controller;
6
7
class HomeController extends Controller
8
{
9
  public function index()
10
  {
11
    $context = [
12
13
    ];
14
    return $this->view->render('admin/pages/home', $context);
15
  }
16
}
17