Expand tests, do code cleanup.

This commit is contained in:
James Cole
2017-12-17 14:30:53 +01:00
parent b08af77c98
commit 78335e5814
141 changed files with 773 additions and 54 deletions

View File

@@ -22,6 +22,7 @@ class InputMandatory implements ConfigurationInterface
* Get the data necessary to show the configuration screen.
*
* @return array
* @throws FireflyException
*/
public function getData(): array
{
@@ -56,7 +57,7 @@ class InputMandatory implements ConfigurationInterface
/**
* @param ImportJob $job
*
* @return ConfigurationInterface
* @return void
*/
public function setJob(ImportJob $job)
{
@@ -69,6 +70,7 @@ class InputMandatory implements ConfigurationInterface
* @param array $data
*
* @return bool
* @throws FireflyException
*/
public function storeConfiguration(array $data): bool
{

View File

@@ -13,6 +13,9 @@ use FireflyIII\Support\Import\Configuration\ConfigurationInterface;
*/
class SelectCountry implements ConfigurationInterface
{
/**
* @var array
*/
public static $allCountries
= [
'AF' => 'Afghanistan',
@@ -302,7 +305,7 @@ class SelectCountry implements ConfigurationInterface
/**
* @param ImportJob $job
*
* @return ConfigurationInterface
* @return void
*/
public function setJob(ImportJob $job)
{

View File

@@ -50,7 +50,7 @@ class SelectProvider implements ConfigurationInterface
/**
* @param ImportJob $job
*
* @return ConfigurationInterface
* @return void
*/
public function setJob(ImportJob $job)
{