Public Access
Remove conditional
This commit is contained in:
1 parent
c84f2b0973
commit
1b9751324b
1 file changed
-2
@@ -45,9 +45,7 @@ final class Badge
|
||||
$palette = $obj->getBadgeColour()->getPalette();
|
||||
}
|
||||
|
||||
if ($icon) {
|
||||
dump($icon);
|
||||
}
|
||||
|
||||
if ($colour) {
|
||||
$cases = array_map(fn (BadgeColour $b) => strtolower($b->name), BadgeColour::cases());
|
||||
|
||||
Reference in new issue
Block a user