mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
php-cs-fix
Signed-off-by: Glandos <bugs-github@antipoul.fr>
This commit is contained in:
parent
9b4d5146d5
commit
b6c65fee2a
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue