|
@ -39,7 +39,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] = parent::getInstance($this->variants[$size]); |
|
|
|
|
|
|
|
|
$this->variants[$size] = self::getInstance($this->variants[$size]); |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
return $this->variants[$size]; |
|
|
return $this->variants[$size]; |
|
|