@ -72,7 +72,7 @@ abstract class File
$this->variants[$size] = new ImageVariant;
} else {
if (!is_object($this->variants[$size])) {
$this->variants[$size] = self::getInstance($this->variants[$size]);
$this->variants[$size] = ImageVariant::getInstance($this->variants[$size]);
}
return $this->variants[$size];