Rename another collector.

This commit is contained in:
James Cole 2016-11-05 17:17:56 +01:00
parent 4b947638a7
commit 05dbd30bbd
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E
2 changed files with 6 additions and 6 deletions

View File

@ -1,6 +1,6 @@
<?php
/**
* JournalCollector.php
* JournalExportCollector.php
* Copyright (C) 2016 thegrumpydictator@gmail.com
*
* This software may be modified and distributed under the terms of the
@ -21,11 +21,11 @@ use Illuminate\Database\Query\JoinClause;
use Illuminate\Support\Collection;
/**
* Class JournalCollector
* Class JournalExportCollector
*
* @package FireflyIII\Export\Collector
*/
class JournalCollector extends BasicCollector implements CollectorInterface
class JournalExportCollector extends BasicCollector implements CollectorInterface
{
/** @var Collection */
private $accounts;

View File

@ -15,7 +15,7 @@ namespace FireflyIII\Export;
use FireflyIII\Exceptions\FireflyException;
use FireflyIII\Export\Collector\AttachmentCollector;
use FireflyIII\Export\Collector\JournalCollector;
use FireflyIII\Export\Collector\JournalExportCollector;
use FireflyIII\Export\Collector\UploadCollector;
use FireflyIII\Export\Entry\Entry;
use FireflyIII\Models\ExportJob;
@ -93,8 +93,8 @@ class Processor
*/
public function collectJournals(): bool
{
/** @var JournalCollector $collector */
$collector = app(JournalCollector::class, [$this->job]);
/** @var JournalExportCollector $collector */
$collector = app(JournalExportCollector::class, [$this->job]);
$collector->setDates($this->settings['startDate'], $this->settings['endDate']);
$collector->setAccounts($this->settings['accounts']);
$collector->run();