chore: update dependencies for Laravel 9 (#6098)

This commit is contained in:
Alexis Saettler
2022-08-12 18:42:35 +02:00
committed by GitHub
parent 6a7f49fd90
commit 78cd01b2b5
78 changed files with 1889 additions and 2286 deletions
@@ -17,6 +17,8 @@ class StorageController extends Controller
{
$documents = Document::where('account_id', auth()->user()->account_id)->get();
$photos = Photo::where('account_id', auth()->user()->account_id)->get();
/** @var \Illuminate\Support\Collection<array-key, \Illuminate\Database\Eloquent\Model> */
$documents = collect($documents);
$elements = $documents->concat($photos)->sortByDesc('created_at');
// size is in bytes in the database