mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Added PHP7 return type statements.
This commit is contained in:
@@ -18,7 +18,7 @@ interface AttachmentRepositoryInterface
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function destroy(Attachment $attachment);
|
||||
public function destroy(Attachment $attachment): bool;
|
||||
|
||||
/**
|
||||
* @param Attachment $attachment
|
||||
@@ -26,6 +26,6 @@ interface AttachmentRepositoryInterface
|
||||
*
|
||||
* @return Attachment
|
||||
*/
|
||||
public function update(Attachment $attachment, array $attachmentData);
|
||||
public function update(Attachment $attachment, array $attachmentData): Attachment;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user