We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5fabca1 commit 920f3f5Copy full SHA for 920f3f5
src/Util/ColourUtil.php
@@ -295,7 +295,7 @@ public static function getDefaultColoursNames() : array
295
public static function map256To8(int $colourCode) : string
296
{
297
if (!isset(static::$coloursMap[$colourCode]))
298
- throw new new \InvalidArgumentException("Invalid colour code");
+ throw new \InvalidArgumentException("Invalid colour code");
299
300
return static::$coloursMap[$colourCode];
301
}
0 commit comments