diff --git a/src/Twig/Component/Badge.php b/src/Twig/Component/Badge.php index 18fc05d..cc9e899 100644 --- a/src/Twig/Component/Badge.php +++ b/src/Twig/Component/Badge.php @@ -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) {