Some cleaning up. About to release 3.2.1

This commit is contained in:
James Cole
2014-12-15 19:39:01 +01:00
parent 16678aa5e1
commit b999a8f0fb
10 changed files with 74 additions and 58 deletions

View File

@@ -194,6 +194,11 @@ class TransactionJournal implements TransactionJournalInterface, CUD, CommonData
* Validates an array. Returns an array containing MessageBags
* errors/warnings/successes.
*
* ignored because this method will be gone soon.
* @SuppressWarnings("Cyclomatic")
* @SuppressWarnings("NPath")
* @SuppressWarnings("MethodLength")
*
* @param array $model
*
* @return array
@@ -614,13 +619,13 @@ class TransactionJournal implements TransactionJournalInterface, CUD, CommonData
/**
* @param \Account $account
* @param int $count
* @param Carbon $start
* @param Carbon $end
* @param int $count
*
* @return Collection
*/
public function getInDateRangeAccount(\Account $account, $count = 20, Carbon $start, Carbon $end)
public function getInDateRangeAccount(\Account $account, Carbon $start, Carbon $end, $count = 20)
{
$accountID = $account->id;