From b3aecec11db7b14d0d90fbe2f1deee6c83a9f990 Mon Sep 17 00:00:00 2001 From: James Cole Date: Wed, 17 Feb 2016 20:25:20 +0100 Subject: [PATCH] Remove parameter and make fields private. --- app/Rules/TransactionMatcher.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Rules/TransactionMatcher.php b/app/Rules/TransactionMatcher.php index 61cc4ad082..b928cdc48f 100644 --- a/app/Rules/TransactionMatcher.php +++ b/app/Rules/TransactionMatcher.php @@ -28,9 +28,9 @@ class TransactionMatcher private $limit = 10; /** @var array */ - protected $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER]; + private $transactionTypes = [TransactionType::DEPOSIT, TransactionType::WITHDRAWAL, TransactionType::TRANSFER]; /** @var array List of triggers to match */ - protected $triggers = []; + private $triggers = []; /** * Find matching transactions for the current set of triggers @@ -39,7 +39,7 @@ class TransactionMatcher * * @return array */ - public function findMatchingTransactions($maxResults = 50) + public function findMatchingTransactions() { /** @var JournalRepositoryInterface $repository */ $repository = app('FireflyIII\Repositories\Journal\JournalRepositoryInterface');