mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-23 23:13:18 -06:00
24 lines
434 B
PHP
24 lines
434 B
PHP
<?php
|
|
declare(strict_types = 1);
|
|
namespace FireflyIII\Helpers\Csv\Converter;
|
|
|
|
/**
|
|
* Class Description
|
|
*
|
|
* @package FireflyIII\Helpers\Csv\Converter
|
|
*/
|
|
class Description extends BasicConverter implements ConverterInterface
|
|
{
|
|
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function convert(): string
|
|
{
|
|
$description = $this->data['description'] ?? '';
|
|
|
|
return trim($description . ' ' . $this->value);
|
|
}
|
|
}
|