Small changes to make code more testable.

This commit is contained in:
James Cole
2017-04-28 18:04:57 +02:00
parent 9d1508049e
commit 0307b58d17
5 changed files with 73 additions and 7 deletions

View File

@@ -15,6 +15,7 @@ namespace FireflyIII\Helpers\Attachments;
use FireflyIII\Models\Attachment;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Support\Collection;
use Illuminate\Support\MessageBag;
/**
@@ -32,6 +33,11 @@ interface AttachmentHelperInterface
*/
public function getAttachmentLocation(Attachment $attachment): string;
/**
* @return Collection
*/
public function getAttachments(): Collection;
/**
* @return MessageBag
*/