Fix grammar

This commit is contained in:
brabli
2026-05-06 12:34:15 +01:00
parent edb8a05bee
commit 44f878715b
+1 -1
View File
@@ -54,7 +54,7 @@ final class Badge
$this->label = $label;
if (!$obj && !$colour) {
throw new \RuntimeException(sprintf('You must specify either a colour an instance of "%s".', BadgeableInterface::class));
throw new \RuntimeException(sprintf('You must specify either a colour or an instance of "%s".', BadgeableInterface::class));
}
if ($obj && $colour) {