Update docblock
This commit is contained in:
@@ -19,9 +19,12 @@ final class Badge
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param BadgeableInterface $obj The object to be converted into a badge
|
* @param ?BadgeableInterface $obj The object to be converted into a badge.
|
||||||
* @param string $class Extra classes you want to add to the badge template
|
* @param string $class Extra classes to add to the badge element.
|
||||||
* @param ?string $colour Specify the colour for an objectless badge
|
* These will override the base classes in case
|
||||||
|
* of conflicts.
|
||||||
|
* @param ?string $colour Specify the colour of an objectless badge.
|
||||||
|
* @param bool $outline If the badge should be rendered as an outline.
|
||||||
*/
|
*/
|
||||||
public function mount(?BadgeableInterface $obj = null, string $class = '', string $colour = null, bool $outline = false): void
|
public function mount(?BadgeableInterface $obj = null, string $class = '', string $colour = null, bool $outline = false): void
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user