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

CSSBootstrap   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 5
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 2
dl 0
loc 5
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A label() 0 2 1
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
}