Total Complexity | 2 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class ReviewHelper |
||
9 | { |
||
10 | /** |
||
11 | * Create a html string from the min and max values, using |
||
12 | * the provided HTML string |
||
13 | * |
||
14 | * @param int $min Initial variable |
||
15 | * @param int $max Final value |
||
16 | * @param string $html The html to use |
||
17 | * |
||
18 | * @return string |
||
19 | */ |
||
20 | public static function getStarsFromValues($min, $max, $html = "★", $divider = " ") |
||
29 | } |
||
30 | } |