Will now warn about non-existent attachments.

This commit is contained in:
James Cole
2018-11-11 07:03:36 +01:00
parent 7380c5096e
commit edf764aaf4
5 changed files with 79 additions and 20 deletions

View File

@@ -38,6 +38,16 @@ use Illuminate\Support\MessageBag;
*/
interface JournalRepositoryInterface
{
/**
* Return all attachments for journal.
*
* @param TransactionJournal $journal
*
* @return Collection
*/
public function getAttachments(TransactionJournal $journal): Collection;
/** @noinspection MoreThanThreeArgumentsInspection */
/**
* @param TransactionJournal $journal