From a3cd47a689a1271192f3a1b435cc360d286403de Mon Sep 17 00:00:00 2001 From: Human HUMANOV Date: Tue, 23 Apr 2024 09:19:30 +0200 Subject: [PATCH] Fix markdown line length limit and wording fix --- docs/storage/flysystem.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/storage/flysystem.md b/docs/storage/flysystem.md index 5135e924..bbc3f1a6 100644 --- a/docs/storage/flysystem.md +++ b/docs/storage/flysystem.md @@ -57,7 +57,9 @@ vich_uploader: ### Issues with adapters public url If you are using certain adapters like S3, Cloudflare, etc., the generated public URL for assets may be incorrect. -To resolve this, you can create your own [custom storage](https://github.com/dustin10/VichUploaderBundle/blob/master/docs/storage/custom.md) by extending the existing FlysystemStorage and adding this function: +To resolve this, you can create your own +[custom storage](https://github.com/dustin10/VichUploaderBundle/blob/master/docs/storage/custom.md) +by duplicating the existing FlysystemStorage and adding this function: ```php public function resolveUri(object|array $obj, ?string $fieldName = null, ?string $className = null): ?string @@ -81,7 +83,8 @@ To resolve this, you can create your own [custom storage](https://github.com/dus } ``` -Be careful with that; if you have existing implementations, it can break them. See [there](https://github.com/dustin10/VichUploaderBundle/pull/1441). +Be careful with that; if you have existing implementations, +it can break them. See [there](https://github.com/dustin10/VichUploaderBundle/pull/1441). ## Integrating with [oneup/flysystem-bundle](https://github.com/1up-lab/OneupFlysystemBundle)