Skip to content

Commit 405a571

Browse files
authored
Fix PSR2
1 parent 065b1b5 commit 405a571

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Util/ColourUtil.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,8 +294,9 @@ public static function getDefaultColoursNames() : array
294294
*/
295295
public static function map256To8(int $colourCode) : string
296296
{
297-
if (!isset(static::$coloursMap[$colourCode]))
297+
if (!isset(static::$coloursMap[$colourCode])) {
298298
throw new \InvalidArgumentException("Invalid colour code");
299+
}
299300

300301
return static::$coloursMap[$colourCode];
301302
}

0 commit comments

Comments
 (0)