Deimplement incompatible method
Signed-off-by: Kamil Tekiela <tekiela246@gmail.com>
This commit is contained in:
parent
db267cfb27
commit
b48c445120
@ -31,10 +31,8 @@ abstract class OptionsPropertyItem extends PropertyItem
|
||||
private $text;
|
||||
/**
|
||||
* What to force
|
||||
*
|
||||
* @var string|null
|
||||
*/
|
||||
private $force;
|
||||
private ?string $force = null;
|
||||
|
||||
/**
|
||||
* @param string $name Item name
|
||||
@ -110,7 +108,7 @@ abstract class OptionsPropertyItem extends PropertyItem
|
||||
*
|
||||
* @param string $force force parameter
|
||||
*/
|
||||
public function setForce($force): void
|
||||
public function setForce(string $force): void
|
||||
{
|
||||
$this->force = $force;
|
||||
}
|
||||
|
||||
@ -13,12 +13,6 @@ namespace PhpMyAdmin\Properties\Options;
|
||||
*/
|
||||
abstract class OptionsPropertyOneItem extends OptionsPropertyItem
|
||||
{
|
||||
/**
|
||||
* Whether to force or not
|
||||
*
|
||||
* @var bool|string
|
||||
*/
|
||||
private $forceOne;
|
||||
/**
|
||||
* Values
|
||||
*
|
||||
@ -45,26 +39,6 @@ abstract class OptionsPropertyOneItem extends OptionsPropertyItem
|
||||
private $size;
|
||||
/* ~~~~~~~~~~~~~~~~~~~~ Getters and Setters ~~~~~~~~~~~~~~~~~~~~ */
|
||||
|
||||
/**
|
||||
* Gets the force parameter
|
||||
*
|
||||
* @return bool|string
|
||||
*/
|
||||
public function getForce()
|
||||
{
|
||||
return $this->forceOne;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the force parameter
|
||||
*
|
||||
* @param bool|string $force force parameter
|
||||
*/
|
||||
public function setForce($force): void
|
||||
{
|
||||
$this->forceOne = $force;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the values
|
||||
*
|
||||
|
||||
Loading…
Reference in New Issue
Block a user