Some code cleanup

Signed-off-by: James Cole <thegrumpydictator@gmail.com>
This commit is contained in:
James Cole
2016-03-14 20:53:56 +01:00
parent 114dd5fc2a
commit ababdacf89
33 changed files with 73 additions and 71 deletions

View File

@@ -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
}
}

View File

@@ -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();
}