PHPCS appeasement again
This commit is contained in:
parent
8cea3a94df
commit
da9fbd6c8d
|
|
@ -86,7 +86,7 @@ class StringValueBinder implements IValueBinder
|
||||||
if ($value instanceof DateTimeInterface) {
|
if ($value instanceof DateTimeInterface) {
|
||||||
$value = $value->format('Y-m-d H:i:s');
|
$value = $value->format('Y-m-d H:i:s');
|
||||||
} elseif ($value instanceof RichText) {
|
} elseif ($value instanceof RichText) {
|
||||||
$cell->setValueExplicit((string)$value, DataType::TYPE_INLINE);
|
$cell->setValueExplicit($value, DataType::TYPE_INLINE);
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ use DateTime;
|
||||||
use DateTimeZone;
|
use DateTimeZone;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\DataType;
|
use PhpOffice\PhpSpreadsheet\Cell\DataType;
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\DefaultValueBinder;
|
|
||||||
use PhpOffice\PhpSpreadsheet\Cell\StringValueBinder;
|
use PhpOffice\PhpSpreadsheet\Cell\StringValueBinder;
|
||||||
use PhpOffice\PhpSpreadsheet\RichText\RichText;
|
use PhpOffice\PhpSpreadsheet\RichText\RichText;
|
||||||
use PhpOffice\PhpSpreadsheet\Style\Style;
|
use PhpOffice\PhpSpreadsheet\Style\Style;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue