1
This commit is contained in:
@@ -34,7 +34,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Border Top Color.
|
||||
*
|
||||
* @var string
|
||||
* @var null|string
|
||||
*/
|
||||
protected $borderTopColor;
|
||||
|
||||
@@ -55,7 +55,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Border Left Color.
|
||||
*
|
||||
* @var string
|
||||
* @var null|string
|
||||
*/
|
||||
protected $borderLeftColor;
|
||||
|
||||
@@ -76,7 +76,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Border Right Color.
|
||||
*
|
||||
* @var string
|
||||
* @var null|string
|
||||
*/
|
||||
protected $borderRightColor;
|
||||
|
||||
@@ -97,7 +97,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Border Bottom Color.
|
||||
*
|
||||
* @var string
|
||||
* @var null|string
|
||||
*/
|
||||
protected $borderBottomColor;
|
||||
|
||||
@@ -171,7 +171,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Get border color.
|
||||
*
|
||||
* @return string[]
|
||||
* @return array<null|string>
|
||||
*/
|
||||
public function getBorderColor()
|
||||
{
|
||||
@@ -186,7 +186,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Set border color.
|
||||
*
|
||||
* @param string $value
|
||||
* @param null|string $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -259,7 +259,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Get border top color.
|
||||
*
|
||||
* @return string
|
||||
* @return null|string
|
||||
*/
|
||||
public function getBorderTopColor()
|
||||
{
|
||||
@@ -269,7 +269,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Set border top color.
|
||||
*
|
||||
* @param string $value
|
||||
* @param null|string $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -331,7 +331,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Get border left color.
|
||||
*
|
||||
* @return string
|
||||
* @return null|string
|
||||
*/
|
||||
public function getBorderLeftColor()
|
||||
{
|
||||
@@ -341,7 +341,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Set border left color.
|
||||
*
|
||||
* @param string $value
|
||||
* @param null|string $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -403,7 +403,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Get border right color.
|
||||
*
|
||||
* @return string
|
||||
* @return null|string
|
||||
*/
|
||||
public function getBorderRightColor()
|
||||
{
|
||||
@@ -413,7 +413,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Set border right color.
|
||||
*
|
||||
* @param string $value
|
||||
* @param null|string $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
@@ -475,7 +475,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Get border bottom color.
|
||||
*
|
||||
* @return string
|
||||
* @return null|string
|
||||
*/
|
||||
public function getBorderBottomColor()
|
||||
{
|
||||
@@ -485,7 +485,7 @@ class Border extends AbstractStyle
|
||||
/**
|
||||
* Set border bottom color.
|
||||
*
|
||||
* @param string $value
|
||||
* @param null|string $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
|
||||
@@ -565,10 +565,8 @@ class Font extends AbstractStyle
|
||||
|
||||
/**
|
||||
* Get strikethrough.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isStrikethrough()
|
||||
public function isStrikethrough(): ?bool
|
||||
{
|
||||
return $this->strikethrough;
|
||||
}
|
||||
@@ -577,20 +575,16 @@ class Font extends AbstractStyle
|
||||
* Set strikethrough.
|
||||
*
|
||||
* @param bool $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setStrikethrough($value = true)
|
||||
public function setStrikethrough($value = true): self
|
||||
{
|
||||
return $this->setPairedVal($this->strikethrough, $this->doubleStrikethrough, $value);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get double strikethrough.
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isDoubleStrikethrough()
|
||||
public function isDoubleStrikethrough(): ?bool
|
||||
{
|
||||
return $this->doubleStrikethrough;
|
||||
}
|
||||
@@ -599,10 +593,8 @@ class Font extends AbstractStyle
|
||||
* Set double strikethrough.
|
||||
*
|
||||
* @param bool $value
|
||||
*
|
||||
* @return self
|
||||
*/
|
||||
public function setDoubleStrikethrough($value = true)
|
||||
public function setDoubleStrikethrough($value = true): self
|
||||
{
|
||||
return $this->setPairedVal($this->doubleStrikethrough, $this->strikethrough, $value);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user