Use new badge colour enum name

This commit is contained in:
brabli
2025-02-26 11:36:55 +00:00
parent f6f3c64f25
commit 62e279e0c9
2 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ declare(strict_types=1);
namespace Pcm\BadgeBundle\Interface;
use Pcm\BadgeBundle\Enum\Badge;
use Pcm\BadgeBundle\Enum\BadgeColour;
/**
* Allows rendering the implementing class as a badge using the PCM Badge twig component.
@@ -14,8 +14,8 @@ interface BadgeableInterface
/**
* Get the badge colour that should be used when rendering this object as a badge.
*
* @return Badge Colour of badge to render
* @return BadgeColour Colour of badge to render
*/
public function getBadgeColour(): Badge;
public function getBadgeColour(): BadgeColour;
}