mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-10-13 08:52:05 -05:00
27 lines
384 B
PHP
27 lines
384 B
PHP
<?php
|
|
/**
|
|
* Created by PhpStorm.
|
|
* User: sander
|
|
* Date: 05/07/15
|
|
* Time: 06:12
|
|
*/
|
|
|
|
namespace FireflyIII\Helpers\Csv\Converter;
|
|
|
|
|
|
class RabobankDebetCredit extends BasicConverter implements ConverterInterface
|
|
{
|
|
|
|
|
|
/**
|
|
* @return mixed
|
|
*/
|
|
public function convert()
|
|
{
|
|
if ($this->value == 'D') {
|
|
return -1;
|
|
}
|
|
|
|
return 1;
|
|
}
|
|
} |