mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-08-24 19:28:22 +00:00
PHPCS appeasement again
This commit is contained in:
@@ -86,7 +86,7 @@ class StringValueBinder implements IValueBinder
|
||||
if ($value instanceof DateTimeInterface) {
|
||||
$value = $value->format('Y-m-d H:i:s');
|
||||
} elseif ($value instanceof RichText) {
|
||||
$cell->setValueExplicit((string)$value, DataType::TYPE_INLINE);
|
||||
$cell->setValueExplicit($value, DataType::TYPE_INLINE);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -6,7 +6,6 @@ use DateTime;
|
||||
use DateTimeZone;
|
||||
use PhpOffice\PhpSpreadsheet\Cell\Cell;
|
||||
use PhpOffice\PhpSpreadsheet\Cell\DataType;
|
||||
use PhpOffice\PhpSpreadsheet\Cell\DefaultValueBinder;
|
||||
use PhpOffice\PhpSpreadsheet\Cell\StringValueBinder;
|
||||
use PhpOffice\PhpSpreadsheet\RichText\RichText;
|
||||
use PhpOffice\PhpSpreadsheet\Style\Style;
|
||||
|
||||
Reference in New Issue
Block a user