mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-16 13:06:31 +00:00
Adjust colour validation calls
This commit is contained in:
@@ -63,7 +63,7 @@ class Color extends Supervisor
|
||||
|
||||
// Initialise values
|
||||
if (!$isConditional) {
|
||||
$this->argb = $this->validateColour($colorValue) ? $colorValue : self::COLOR_BLACK;
|
||||
$this->argb = $this->validateColour($colorValue, self::VALIDATE_ARGB_SIZE) ? $colorValue : self::COLOR_BLACK;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user