aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Preview/Generator.php
diff options
context:
space:
mode:
authorGlandos <bugs-github@antipoul.fr>2022-11-01 22:09:50 +0100
committerSimon L <szaimen@e.mail.de>2023-04-17 16:29:13 +0200
commitb6c65fee2acf14bd50daada653d3a40c663d16eb (patch)
tree5ac01cf0490afc0fecf862ef82b58e3133f356a4 /lib/private/Preview/Generator.php
parent9b4d5146d5e0fc8b2c25d2e0e0976c2489cb9659 (diff)
downloadnextcloud-server-b6c65fee2acf14bd50daada653d3a40c663d16eb.tar.gz
nextcloud-server-b6c65fee2acf14bd50daada653d3a40c663d16eb.zip
php-cs-fix
Signed-off-by: Glandos <bugs-github@antipoul.fr>
Diffstat (limited to 'lib/private/Preview/Generator.php')
-rw-r--r--lib/private/Preview/Generator.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/Preview/Generator.php b/lib/private/Preview/Generator.php
index a005d46adb4..fb57d5a78be 100644
--- a/lib/private/Preview/Generator.php
+++ b/lib/private/Preview/Generator.php
@@ -665,7 +665,7 @@ class Generator {
*/
private function getCachedPreview($files, $width, $height, $crop, $mimeType, $prefix) {
$path = $this->generatePath($width, $height, $crop, $mimeType, $prefix);
- foreach($files as $file) {
+ foreach ($files as $file) {
if ($file->getName() === $path) {
return $file;
}