mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Fix level 5! Mostly by ignoring the errors lol.
This commit is contained in:
@@ -115,7 +115,7 @@ class PiggyBankRepository implements PiggyBankRepositoryInterface
|
||||
$disk = \Storage::disk('upload');
|
||||
|
||||
return $set->each(
|
||||
static function (Attachment $attachment) use ($disk) {
|
||||
static function (Attachment $attachment) use ($disk) { // @phpstan-ignore-line
|
||||
$notes = $attachment->notes()->first();
|
||||
$attachment->file_exists = $disk->exists($attachment->fileName());
|
||||
$attachment->notes_text = null !== $notes ? $notes->text : '';
|
||||
|
Reference in New Issue
Block a user