Refactor TrashStorageTrait::setPersistentCache

Closes #3569155

Merge request reports

Loading