mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-01-10 08:03:36 -06:00
26 lines
388 B
PHP
26 lines
388 B
PHP
<?php
|
|
|
|
namespace FireflyIII\Helpers\Csv\Converter;
|
|
|
|
|
|
/**
|
|
* Class RabobankDebetCredit
|
|
*
|
|
* @package FireflyIII\Helpers\Csv\Converter
|
|
*/
|
|
class RabobankDebetCredit extends BasicConverter implements ConverterInterface
|
|
{
|
|
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function convert()
|
|
{
|
|
if ($this->value == 'D') {
|
|
return -1;
|
|
}
|
|
|
|
return 1;
|
|
}
|
|
} |