Skip to content

Commit 920f3f5

Browse files
authored
typo
1 parent 5fabca1 commit 920f3f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Util/ColourUtil.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ public static function getDefaultColoursNames() : array
295295
public static function map256To8(int $colourCode) : string
296296
{
297297
if (!isset(static::$coloursMap[$colourCode]))
298-
throw new new \InvalidArgumentException("Invalid colour code");
298+
throw new \InvalidArgumentException("Invalid colour code");
299299

300300
return static::$coloursMap[$colourCode];
301301
}

0 commit comments

Comments
 (0)