Passed
Push — master ( a14023...ec1592 )
by Ferry
05:48
created

CSSBootstrap::label()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 2
1
<?php
2
3
namespace Crocodicstudio\Crudbooster\Helpers;
4
5
class CSSBootstrap
6
{
7
8
	public static function label($label,$class='warning') {
9
		return "<span class='label label-".$class."'>".$label."</span>";
10
	}
11
}