Remove conditional
This commit is contained in:
@@ -45,9 +45,7 @@ final class Badge
|
||||
$palette = $obj->getBadgeColour()->getPalette();
|
||||
}
|
||||
|
||||
if ($icon) {
|
||||
dump($icon);
|
||||
}
|
||||
dump($icon);
|
||||
|
||||
if ($colour) {
|
||||
$cases = array_map(fn (BadgeColour $b) => strtolower($b->name), BadgeColour::cases());
|
||||
|
||||
Reference in New Issue
Block a user