mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-18 14:06:34 +00:00
Scrutinizer tweaks
This commit is contained in:
@@ -341,7 +341,7 @@ class Axis extends Properties
|
||||
$this->setShadowPresetsProperties((int) $shadowPresets)
|
||||
->setShadowColor(
|
||||
$colorValue === null ? $this->shadowProperties['color']['value'] : $colorValue,
|
||||
$colorAlpha === null ? (int) $this->shadowProperties['color']['alpha'] : $colorAlpha,
|
||||
$colorAlpha === null ? $this->shadowProperties['color']['alpha'] : $colorAlpha,
|
||||
$colorType === null ? $this->shadowProperties['color']['type'] : $colorType
|
||||
)
|
||||
->setShadowBlur($blur)
|
||||
|
||||
@@ -281,7 +281,7 @@ class GridLines extends Properties
|
||||
* @param int $presets
|
||||
* @param string $colorValue
|
||||
* @param string $colorType
|
||||
* @param int $colorAlpha
|
||||
* @param string $colorAlpha
|
||||
* @param string $blur
|
||||
* @param int $angle
|
||||
* @param float $distance
|
||||
@@ -292,7 +292,7 @@ class GridLines extends Properties
|
||||
->setShadowPresetsProperties((int) $presets)
|
||||
->setShadowColor(
|
||||
$colorValue === null ? $this->shadowProperties['color']['value'] : $colorValue,
|
||||
$colorAlpha === null ? (int) $this->shadowProperties['color']['alpha'] : $this->getTrueAlpha($colorAlpha),
|
||||
$colorAlpha === null ? $this->shadowProperties['color']['alpha'] : $this->getTrueAlpha($colorAlpha),
|
||||
$colorType === null ? $this->shadowProperties['color']['type'] : $colorType
|
||||
)
|
||||
->setShadowBlur($blur)
|
||||
|
||||
Reference in New Issue
Block a user