Code optimizations.

This commit is contained in:
James Cole
2018-07-23 21:49:15 +02:00
parent 4fa5f4e5a3
commit 06d22e843a
33 changed files with 784 additions and 603 deletions

View File

@@ -49,11 +49,11 @@ interface AttachmentRepositoryInterface
public function exists(Attachment $attachment): bool;
/**
* @param int $id
*
* @param int $attachmentId
* @deprecated
* @return Attachment
*/
public function findWithoutUser(int $id): Attachment;
public function findWithoutUser(int $attachmentId): Attachment;
/**
* @return Collection