From 7fc3a77edb4227611b6dbbe01294147869ea9d5d Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 28 May 2023 12:38:27 +0000 Subject: [PATCH] phcbf autofixes --- .gitignore | 1 + Controller/ApiController.php | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 722bfae..0eff927 100755 --- a/.gitignore +++ b/.gitignore @@ -15,6 +15,7 @@ cache .sass-cache .idea vendor +Build bower_components node_modules Libraries diff --git a/Controller/ApiController.php b/Controller/ApiController.php index e2b2a2e..b55c3cc 100755 --- a/Controller/ApiController.php +++ b/Controller/ApiController.php @@ -454,9 +454,9 @@ final class ApiController extends Controller } } - $lastVersionPath = $basePath . '/' . $id . '/' . $lastVersionTimestamp; - $oldPath = $lastVersionPath . '/' . $fileName; - $newPath = $path . '/' . $fileName; + $lastVersionPath = $basePath . '/' . $id . '/' . $lastVersionTimestamp; + $oldPath = $lastVersionPath . '/' . $fileName; + $newPath = $path . '/' . $fileName; if (!\is_file($newPath) || !$toCheck[$index]['handled']) { continue;