Completed
Push — master ( 4a1c4b...dec28d )
by Angus
03:08
created

About::index()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 5
CRAP Score 1

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
ccs 5
cts 5
cp 1
crap 1
rs 10
c 0
b 0
f 0
1
<?php defined('BASEPATH') OR exit('No direct script access allowed');
2
3
class About extends MY_Controller {
4 2
	public function __construct() {
5 2
		parent::__construct();
6 2
	}
7
8 1
	public function index() : void {
9 1
		$this->header_data['title'] = 'About';
10 1
		$this->header_data['page']  = 'about';
11 1
		$this->_render_page('About/About');
12 1
	}
13
14 1
	public function terms() : void {
15 1
		$this->header_data['title'] = 'Terms of Service';
16 1
		$this->header_data['page']  = 'terms';
17 1
		$this->_render_page('About/Terms');
18 1
	}
19
}
20