Update docblock

This commit is contained in:
2024-08-08 16:59:41 +01:00
parent 203ece5985
commit e6b027c166

View File

@@ -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
{ {