Verified Commit e8ef1456 authored by Lee Rowlands's avatar Lee Rowlands
Browse files

Issue #3166645 by kiamlaluno: The document comment for...

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
parent fecfd281
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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'];