lsx_customizer_colour__hex2rgb()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 1
nc 1
nop 1
dl 0
loc 2
rs 10
c 1
b 0
f 0
1
<?php
2
/**
3
 * Deprecated functions
4
 *
5
 * @package   LSX Customizer
6
 * @author    LightSpeed
7
 * @license   GPL3
8
 * @link
9
 * @copyright 2016 LightSpeed
10
 */
11
12
/**
0 ignored issues
show
Coding Style Documentation introduced by
Doc comment for parameter "$color" missing
Loading history...
13
 * Converts a HEX value to RGB.
14
 */
15
function lsx_customizer_colour__hex2rgb( $color ) {
0 ignored issues
show
Coding Style introduced by
Expected 2 blank lines before function; 1 found
Loading history...
16
	return LSX_Customizer_Colour::hex2rgb( $color );
17
}
0 ignored issues
show
Coding Style introduced by
Expected 1 blank line before closing function brace; 0 found
Loading history...
18