lagdo /
ui-builder
| 1 | <?php |
||||
| 2 | |||||
| 3 | namespace Lagdo\UiBuilder\Component\Base; |
||||
| 4 | |||||
| 5 | use Lagdo\UiBuilder\Component\HtmlComponent; |
||||
| 6 | |||||
| 7 | class BadgeComponent extends HtmlComponent |
||||
| 8 | { |
||||
| 9 | /** |
||||
| 10 | * @var string |
||||
| 11 | */ |
||||
| 12 | public static string $tag = 'span'; |
||||
| 13 | |||||
| 14 | /** |
||||
| 15 | * @return static |
||||
| 16 | */ |
||||
| 17 | public function top(): static |
||||
| 18 | { |
||||
| 19 | return $this; |
||||
| 20 | } |
||||
| 21 | |||||
| 22 | /** |
||||
| 23 | * @param string $type |
||||
| 24 | * |
||||
| 25 | * @return static |
||||
| 26 | */ |
||||
| 27 | public function type(string $type): static |
||||
|
0 ignored issues
–
show
|
|||||
| 28 | { |
||||
| 29 | return $this; |
||||
| 30 | } |
||||
| 31 | |||||
| 32 | /** |
||||
| 33 | * @param string $rounded |
||||
| 34 | * |
||||
| 35 | * @return static |
||||
| 36 | */ |
||||
| 37 | public function rounded(string $rounded): static |
||||
|
0 ignored issues
–
show
The parameter
$rounded is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 38 | { |
||||
| 39 | return $this; |
||||
| 40 | } |
||||
| 41 | |||||
| 42 | /** |
||||
| 43 | * @param string $border |
||||
| 44 | * |
||||
| 45 | * @return static |
||||
| 46 | */ |
||||
| 47 | public function border(string $border): static |
||||
|
0 ignored issues
–
show
The parameter
$border is not used and could be removed.
(
Ignorable by Annotation
)
If this is a false-positive, you can also ignore this issue in your code via the
This check looks for parameters that have been defined for a function or method, but which are not used in the method body. Loading history...
|
|||||
| 48 | { |
||||
| 49 | return $this; |
||||
| 50 | } |
||||
| 51 | } |
||||
| 52 |
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.