Skip to content

Firefly III: a personal finances manager

Moved JournalCollector to other package to encourage reuse

Robert Horlings50e5c2173543
diff --git a/app/Export/Processor.php b/app/Export/Processor.php
index b1092a71c9..9f59c7e2b4 100644
--- a/app/Export/Processor.php
+++ b/app/Export/Processor.php
@@ -86,7 +86,7 @@ class Processor
public function collectJournals()
{
$args = [$this->accounts, Auth::user(), $this->settings['startDate'], $this->settings['endDate']];
- $journalCollector = app('FireflyIII\Export\JournalCollector', $args);
+ $journalCollector = app('FireflyIII\Repositories\Journal\JournalCollector', $args);
$this->journals = $journalCollector->collect();
}
diff --git a/app/Export/JournalCollector.php b/app/Repositories/Journal/JournalCollector.php
similarity index 97%
rename from app/Export/JournalCollector.php
rename to app/Repositories/Journal/JournalCollector.php
index 14cb30f654..f1e15fdd32 100644
--- a/app/Export/JournalCollector.php
+++ b/app/Repositories/Journal/JournalCollector.php
@@ -8,7 +8,7 @@ declare(strict_types = 1);
* of the MIT license. See the LICENSE file for details.
*/
-namespace FireflyIII\Export;
+namespace FireflyIII\Repositories\Journal;
use Carbon\Carbon;
use FireflyIII\User;