Various code cleanup.

This commit is contained in:
James Cole
2017-11-05 19:49:20 +01:00
parent 33d89d52c2
commit d2ab03061f
37 changed files with 95 additions and 247 deletions

View File

@@ -126,6 +126,7 @@ class AbnAmroDescription implements SpecificInterface
/**
* Parses the current description in SEPA format
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
*
* @return bool true if the description is SEPA format, false otherwise
*/
protected function parseSepaDescription()

View File

@@ -33,8 +33,6 @@ declare(strict_types=1);
namespace FireflyIII\Import\Specifics;
use Log;
/**
* Class SnsDescription
*
@@ -65,8 +63,9 @@ class SnsDescription implements SpecificInterface
*/
public function run(array $row): array
{
$row[17] = ltrim($row[17],"'");
$row[17] = rtrim($row[17],"'");
$row[17] = ltrim($row[17], "'");
$row[17] = rtrim($row[17], "'");
return $row;
}
}