mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-10 18:16:34 +00:00
phpstan appeasement
This commit is contained in:
@@ -9,22 +9,22 @@ use PhpOffice\PhpSpreadsheet\Shared\StringHelper;
|
||||
class StringValueBinder implements IValueBinder
|
||||
{
|
||||
/**
|
||||
* @var bool $convertNull
|
||||
* @var bool
|
||||
*/
|
||||
protected $convertNull = true;
|
||||
|
||||
/**
|
||||
* @var bool $convertBoolean
|
||||
* @var bool
|
||||
*/
|
||||
protected $convertBoolean = true;
|
||||
|
||||
/**
|
||||
* @var bool $convertNumeric
|
||||
* @var bool
|
||||
*/
|
||||
protected $convertNumeric = true;
|
||||
|
||||
/**
|
||||
* @var bool $convertFormula
|
||||
* @var bool
|
||||
*/
|
||||
protected $convertFormula = true;
|
||||
|
||||
|
||||
@@ -15,8 +15,10 @@ class StringValueBinderTest extends TestCase
|
||||
{
|
||||
/**
|
||||
* @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 */
|
||||
$styleStub = $this->getMockBuilder(Style::class)
|
||||
|
||||
Reference in New Issue
Block a user