diff --git a/Image.class.php b/Image.class.php index aa9fa5a..2206929 100644 --- a/Image.class.php +++ b/Image.class.php @@ -51,8 +51,13 @@ abstract class Image extends File return static::$max_height; } - public function getVariant($size) + /** + * @param $size + * @param $force_create + * @return ImageVariant + */ + public function getVariant($size, $force_create = false) { - return parent::getImageVariant($size); + return parent::getImageVariant($size, $force_create); } } \ No newline at end of file