From b476777399d10d5299494b917195360fbbf82f64 Mon Sep 17 00:00:00 2001 From: Frank de Jonge Date: Tue, 25 Oct 2022 08:58:10 +0200 Subject: [PATCH] Use adapter for temporary URLs --- src/Filesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Filesystem.php b/src/Filesystem.php index 0c1a97a0a..216a5f7bc 100644 --- a/src/Filesystem.php +++ b/src/Filesystem.php @@ -180,7 +180,7 @@ public function temporaryUrl(string $path, DateTimeInterface $expiresAt, array $ $generator = $this->temporaryUrlGenerator ?: $this->adapter; if ($generator instanceof TemporaryUrlGenerator) { - return $this->temporaryUrlGenerator->temporaryUrl($path, $expiresAt, $this->config->extend($config)); + return $generator->temporaryUrl($path, $expiresAt, $this->config->extend($config)); } throw UnableToGenerateTemporaryUrl::noGeneratorConfigured($path);