phcbf autofixes

This commit is contained in:
Dennis Eichhorn 2023-05-28 12:38:27 +00:00
parent dbe3a122e4
commit 7fc3a77edb
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@ -15,6 +15,7 @@ cache
.sass-cache
.idea
vendor
Build
bower_components
node_modules
Libraries

View File

@ -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;