mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Various code for bills and rules.
This commit is contained in:
@@ -54,7 +54,7 @@ class TransactionMatcher
|
||||
* @return Collection
|
||||
* @throws \FireflyIII\Exceptions\FireflyException
|
||||
*/
|
||||
public function findTransactionsByRule()
|
||||
public function findTransactionsByRule(): Collection
|
||||
{
|
||||
if (0 === count($this->rule->ruleTriggers)) {
|
||||
return new Collection;
|
||||
@@ -202,6 +202,10 @@ class TransactionMatcher
|
||||
$collector = app(JournalCollectorInterface::class);
|
||||
$collector->setUser(auth()->user());
|
||||
$collector->setAllAssetAccounts()->setLimit($pageSize)->setPage($page)->setTypes($this->transactionTypes);
|
||||
|
||||
|
||||
|
||||
|
||||
$set = $collector->getPaginatedJournals();
|
||||
Log::debug(sprintf('Found %d journals to check. ', $set->count()));
|
||||
|
||||
|
Reference in New Issue
Block a user