Make method nullable.

This commit is contained in:
James Cole
2018-08-07 19:29:10 +02:00
parent 229d033e1a
commit c5051b3e46
4 changed files with 10 additions and 10 deletions

View File

@@ -184,9 +184,9 @@ interface AccountRepositoryInterface
*
* @param Account $account
*
* @return Carbon
* @return Carbon|null
*/
public function oldestJournalDate(Account $account): Carbon;
public function oldestJournalDate(Account $account): ?Carbon;
/**
* @param User $user