php-cs-fix

Signed-off-by: Glandos <bugs-github@antipoul.fr>
This commit is contained in:
Glandos 2022-11-01 22:09:50 +01:00 committed by Simon L
parent 9b4d5146d5
commit b6c65fee2a

View file

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