Completed
Push — master ( 276fbe...eb73da )
by Nazar
05:10
created

Controller   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 10
rs 10
wmc 1
lcom 0
cbo 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A index_get_settings() 0 5 1
1
<?php
2
/**
3
 * @package   Disqus
4
 * @category  modules
5
 * @author    Nazar Mokrynskyi <[email protected]>
6
 * @copyright Copyright (c) 2016, Nazar Mokrynskyi
7
 * @license   MIT License, see license.txt
8
 */
9
namespace cs\modules\Disqus\api;
10
use
11
	cs\Config;
12
13
class Controller {
14
	/**
15
	 * @return array
16
	 */
17
	static function index_get_settings () {
18
		return [
19
			'shortname' => Config::instance()->module('Disqus')->shortname
20
		];
21
	}
22
}
23