mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 01:06:46 +00:00
More PHP8.4 updates
This commit is contained in:
@@ -166,9 +166,7 @@ class ShowController extends Controller
|
||||
/** @var AttachmentTransformer $transformer */
|
||||
$transformer = app(AttachmentTransformer::class);
|
||||
$attachments = $collection->each(
|
||||
static function (Attachment $attachment) use ($transformer) {
|
||||
return $transformer->transform($attachment);
|
||||
}
|
||||
static fn(Attachment $attachment) => $transformer->transform($attachment)
|
||||
);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user