Some general code cleanup.

This commit is contained in:
James Cole
2016-03-03 08:29:56 +01:00
parent 3a236456cd
commit fcf16051a2
7 changed files with 19 additions and 8 deletions

View File

@@ -95,12 +95,13 @@ class AbnAmroDescription extends Specifix implements SpecifixInterface
// description and opposing account will be the same.
$this->data['opposing-account-name'] = $matches[4];
if( $matches[1] == 'GEA' ) {
$this->data['description'] = 'GEA ' . $matches[4];
if ($matches[1] == 'GEA') {
$this->data['description'] = 'GEA ' . $matches[4];
} else {
$this->data['description'] = $matches[4];
$this->data['description'] = $matches[4];
}
return true;
}

View File

@@ -18,6 +18,7 @@ interface HelpInterface
public function getFromCache(string $key): string;
/**
* @param string $language
* @param string $route
*
* @return array