phpstan appeasement
This commit is contained in:
parent
f135da0b11
commit
883115a079
|
|
@ -9,22 +9,22 @@ use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||||
class StringValueBinder implements IValueBinder
|
class StringValueBinder implements IValueBinder
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @var bool $convertNull
|
* @var bool
|
||||||
*/
|
*/
|
||||||
protected $convertNull = true;
|
protected $convertNull = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var bool $convertBoolean
|
* @var bool
|
||||||
*/
|
*/
|
||||||
protected $convertBoolean = true;
|
protected $convertBoolean = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var bool $convertNumeric
|
* @var bool
|
||||||
*/
|
*/
|
||||||
protected $convertNumeric = true;
|
protected $convertNumeric = true;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @var bool $convertFormula
|
* @var bool
|
||||||
*/
|
*/
|
||||||
protected $convertFormula = true;
|
protected $convertFormula = true;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -15,8 +15,10 @@ class StringValueBinderTest extends TestCase
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param mixed $expectedValue
|
* @param mixed $expectedValue
|
||||||
|
*
|
||||||
|
* @return Cell&MockObject
|
||||||
*/
|
*/
|
||||||
protected function createCellStub($expectedValue, string $expectedDataType, bool $quotePrefix = false): Cell
|
protected function createCellStub($expectedValue, string $expectedDataType, bool $quotePrefix = false): MockObject
|
||||||
{
|
{
|
||||||
/** @var Style&MockObject $styleStub */
|
/** @var Style&MockObject $styleStub */
|
||||||
$styleStub = $this->getMockBuilder(Style::class)
|
$styleStub = $this->getMockBuilder(Style::class)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue