Various code cleanup.

This commit is contained in:
James Cole
2017-12-22 18:32:43 +01:00
parent f13a93348f
commit 8bd76d1ff0
188 changed files with 383 additions and 396 deletions

View File

@@ -42,6 +42,8 @@ use Log;
trait CreateJournalsTrait
{
/**
* Store accounts found in parent class.
*
* @param User $user
* @param TransactionType $type
* @param array $data
@@ -78,6 +80,8 @@ trait CreateJournalsTrait
}
/**
* Store a budget if found.
*
* @param Transaction $transaction
* @param int $budgetId
*/
@@ -91,6 +95,8 @@ trait CreateJournalsTrait
}
/**
* Store category if found.
*
* @param Transaction $transaction
* @param string $category
*/
@@ -161,6 +167,8 @@ trait CreateJournalsTrait
}
/**
* Store a transaction.
*
* @param array $data
*
* @return Transaction
@@ -202,6 +210,8 @@ trait CreateJournalsTrait
}
/**
* Update note for journal.
*
* @param TransactionJournal $journal
* @param string $note
*