diff --git a/plugins/filesystem/local/src/Adapter/LocalAdapter.php b/plugins/filesystem/local/src/Adapter/LocalAdapter.php index d571e2d0718..402c9c0c20f 100644 --- a/plugins/filesystem/local/src/Adapter/LocalAdapter.php +++ b/plugins/filesystem/local/src/Adapter/LocalAdapter.php @@ -251,7 +251,7 @@ class LocalAdapter implements AdapterInterface */ public function createFile(string $name, string $path, $data): string { - $name = $this->getSafeName($name); + $name = $this->getSafeName($name); $localPath = $this->getLocalPath($path . '/' . $name); $this->checkContent($localPath, $data); @@ -320,7 +320,7 @@ class LocalAdapter implements AdapterInterface */ public function delete(string $path) { - $localPath = $this->getLocalPath($path); + $localPath = $this->getLocalPath($path); $thumbnailPaths = $this->getLocalThumbnailPaths($localPath); if (is_file($localPath)) {