mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Expand tests, do code cleanup.
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
@@ -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)
|
||||
{
|
||||
|
@@ -50,7 +50,7 @@ class SelectProvider implements ConfigurationInterface
|
||||
/**
|
||||
* @param ImportJob $job
|
||||
*
|
||||
* @return ConfigurationInterface
|
||||
* @return void
|
||||
*/
|
||||
public function setJob(ImportJob $job)
|
||||
{
|
||||
|
Reference in New Issue
Block a user