From e8ef145650ef03af6fe4c73785753551ed38fcb5 Mon Sep 17 00:00:00 2001 From: Lee Rowlands <lee.rowlands@previousnext.com.au> Date: Mon, 24 Aug 2020 10:54:40 +1000 Subject: [PATCH] Issue #3166645 by kiamlaluno: The document comment for Image::scaleDimensions() contains a reference to a function that isn't implemented in Drupal 8 and 9 --- core/lib/Drupal/Component/Utility/Image.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/core/lib/Drupal/Component/Utility/Image.php b/core/lib/Drupal/Component/Utility/Image.php index fcfedb1a26e8..f1368c1b8390 100644 --- a/core/lib/Drupal/Component/Utility/Image.php +++ b/core/lib/Drupal/Component/Utility/Image.php @@ -30,8 +30,6 @@ class Image { * * @return bool * TRUE if $dimensions was modified, FALSE otherwise. - * - * @see image_scale() */ public static function scaleDimensions(array &$dimensions, $width = NULL, $height = NULL, $upscale = FALSE) { $aspect = $dimensions['height'] / $dimensions['width']; -- GitLab