Fix grammar
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user