From 44f878715b75212b72c45a842f3c353468245303 Mon Sep 17 00:00:00 2001 From: brabli <67018167+brabli@users.noreply.github.com> Date: Wed, 6 May 2026 12:34:15 +0100 Subject: [PATCH] Fix grammar --- src/Twig/Component/Badge.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {