|
@ -72,7 +72,7 @@ abstract class File |
|
|
$this->variants[$size] = new ImageVariant; |
|
|
$this->variants[$size] = new ImageVariant; |
|
|
} else { |
|
|
} else { |
|
|
if (!is_object($this->variants[$size])) { |
|
|
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]; |
|
|
return $this->variants[$size]; |
|
|