Minor cleanup on ImageMedium

This commit is contained in:
Matias Griese
2022-04-06 21:23:34 +03:00
parent 16851ef826
commit b2e780135c

View File

@@ -143,11 +143,7 @@ class ImageMedium extends Medium implements ImageMediaInterface, ImageManipulate
public function url($reset = true)
{
if (!$this->image) {
/** @var string|null $url */
$url = $this->get('url');
if ($url) {
return $url;
}
parent::url($reset);
}
// FIXME: update this code