mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 12:11:19 +00:00
Various code reshuffelling.
This commit is contained in:
@@ -49,7 +49,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
|
||||
* @param Attachment $attachment
|
||||
*
|
||||
* @return bool
|
||||
* @throws \Exception
|
||||
* @throws Exception
|
||||
*/
|
||||
public function destroy(Attachment $attachment): bool
|
||||
{
|
||||
@@ -111,7 +111,7 @@ class AttachmentRepository implements AttachmentRepositoryInterface
|
||||
try {
|
||||
$unencryptedContent = Crypt::decrypt($encryptedContent); // verified
|
||||
} catch (DecryptException $e) {
|
||||
$unencryptedContent = $encryptedContent;
|
||||
$unencryptedContent = $encryptedContent;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user