Changed a lot of parameters.

This commit is contained in:
James Cole
2016-02-05 09:25:15 +01:00
parent 554640c345
commit 78bcd3e1bb
64 changed files with 539 additions and 572 deletions

View File

@@ -52,14 +52,14 @@ interface JournalRepositoryInterface
*
* @return LengthAwarePaginator
*/
public function getJournalsOfTypes(array $types, $offset, $page);
public function getJournalsOfTypes(array $types, int $offset, int $page);
/**
* @param $type
* @param string $type
*
* @return TransactionType
*/
public function getTransactionType($type);
public function getTransactionType(string $type);
/**
* @param int $journalId
@@ -67,7 +67,7 @@ interface JournalRepositoryInterface
*
* @return TransactionJournal
*/
public function getWithDate($journalId, Carbon $date);
public function getWithDate(int $journalId, Carbon $date);
/**
* @param TransactionJournal $journal