Code cleanup

This commit is contained in:
James Cole
2019-08-17 10:46:55 +02:00
parent acfdf7dc90
commit 44823c6fec
21 changed files with 19 additions and 37 deletions

View File

@@ -236,7 +236,7 @@ class MigrateToGroups extends Command
* @param TransactionJournal $journal
*
* @throws Exception
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*
*/
private function makeMultiGroup(TransactionJournal $journal): void
{

View File

@@ -248,8 +248,8 @@ class OtherCurrenciesCorrections extends Command
* Gets the transaction that determines the transaction that "leads" and will determine
* the currency to be used by all transactions, and the journal itself.
*
* @SuppressWarnings(PHPMD.CyclomaticComplexity)
* @param TransactionJournal $journal
*
* @return Transaction|null
*/
private function getLeadTransaction(TransactionJournal $journal): ?Transaction

View File

@@ -291,8 +291,6 @@ class TransferCurrenciesCorrections extends Command
}
/**
* @SuppressWarnings(PHPMD.ExcessiveMethodLength)
*
* @param TransactionJournal $transfer
*/
private function updateTransferCurrency(TransactionJournal $transfer): void