mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-06-09 03:44:57 +00:00
Refactor code and fix tests.
This commit is contained in:
@@ -40,7 +40,7 @@ use Log;
|
||||
/**
|
||||
* Class ConfigureMappingHandler
|
||||
*/
|
||||
class ConfigureMappingHandler implements ConfigurationInterface
|
||||
class ConfigureMappingHandler implements FileConfigurationInterface
|
||||
{
|
||||
/** @var AttachmentHelperInterface */
|
||||
private $attachments;
|
||||
|
||||
@@ -39,7 +39,7 @@ use Log;
|
||||
/**
|
||||
* Class ConfigureRolesHandler
|
||||
*/
|
||||
class ConfigureRolesHandler implements ConfigurationInterface
|
||||
class ConfigureRolesHandler implements FileConfigurationInterface
|
||||
{
|
||||
/** @var AttachmentHelperInterface */
|
||||
private $attachments;
|
||||
|
||||
@@ -33,7 +33,7 @@ use Log;
|
||||
/**
|
||||
* Class ConfigureUploadHandler
|
||||
*/
|
||||
class ConfigureUploadHandler implements ConfigurationInterface
|
||||
class ConfigureUploadHandler implements FileConfigurationInterface
|
||||
{
|
||||
/** @var ImportJob */
|
||||
private $importJob;
|
||||
|
||||
@@ -26,9 +26,9 @@ use FireflyIII\Models\ImportJob;
|
||||
use Illuminate\Support\MessageBag;
|
||||
|
||||
/**
|
||||
* Class ConfigurationInterface.
|
||||
* Class FileConfigurationInterface.
|
||||
*/
|
||||
interface ConfigurationInterface
|
||||
interface FileConfigurationInterface
|
||||
{
|
||||
/**
|
||||
* Store data associated with current stage.
|
||||
@@ -37,7 +37,7 @@ use Log;
|
||||
/**
|
||||
* Class NewFileJobHandler
|
||||
*/
|
||||
class NewFileJobHandler implements ConfigurationInterface
|
||||
class NewFileJobHandler implements FileConfigurationInterface
|
||||
{
|
||||
/** @var AttachmentHelperInterface */
|
||||
private $attachments;
|
||||
|
||||
Reference in New Issue
Block a user