| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class BadgeElement extends Element implements BadgeInterface |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | public static string $tag = 'span'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @return static |
||
| 17 | */ |
||
| 18 | public function top(): static |
||
| 19 | { |
||
| 20 | return $this; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param string $type |
||
| 25 | * |
||
| 26 | * @return static |
||
| 27 | */ |
||
| 28 | public function type(string $type): static |
||
| 29 | { |
||
| 30 | return $this; |
||
| 31 | } |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string $rounded |
||
| 35 | * |
||
| 36 | * @return static |
||
| 37 | */ |
||
| 38 | public function rounded(string $rounded): static |
||
| 39 | { |
||
| 40 | return $this; |
||
| 41 | } |
||
| 42 | |||
| 43 | /** |
||
| 44 | * @param string $border |
||
| 45 | * |
||
| 46 | * @return static |
||
| 47 | */ |
||
| 48 | public function border(string $border): static |
||
| 51 | } |
||
| 52 | } |
||
| 53 |