mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Some code cleanup
Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
@@ -21,10 +21,9 @@ use Illuminate\Support\Collection;
|
||||
*/
|
||||
class BasicExporter
|
||||
{
|
||||
private $entries;
|
||||
|
||||
/** @var ExportJob */
|
||||
protected $job;
|
||||
private $entries;
|
||||
|
||||
/**
|
||||
* BasicExporter constructor.
|
||||
@@ -34,7 +33,7 @@ class BasicExporter
|
||||
public function __construct(ExportJob $job)
|
||||
{
|
||||
$this->entries = new Collection;
|
||||
$this->job = $job;
|
||||
$this->job = $job;
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -54,5 +53,4 @@ class BasicExporter
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
@@ -9,6 +9,7 @@ declare(strict_types = 1);
|
||||
*/
|
||||
|
||||
namespace FireflyIII\Export\Exporter;
|
||||
|
||||
use Illuminate\Support\Collection;
|
||||
|
||||
/**
|
||||
@@ -23,6 +24,11 @@ interface ExporterInterface
|
||||
*/
|
||||
public function getEntries();
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFileName();
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@@ -34,9 +40,4 @@ interface ExporterInterface
|
||||
*/
|
||||
public function setEntries(Collection $entries);
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFileName();
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user