From 8e88e7fb7c01c118610a47cd30c12616d838ab6f Mon Sep 17 00:00:00 2001 From: Lauri Eskola Date: Sat, 18 Feb 2023 09:42:18 +0200 Subject: [PATCH] Issue #3312883 by smavri, rpayanm, smustgrave: Update variable type PHPDoc in _responsive_image_build_source_attributes function (cherry picked from commit 5bfa2eee074848d143a51370c6dfff77ac9c264d) --- core/modules/responsive_image/responsive_image.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/modules/responsive_image/responsive_image.module b/core/modules/responsive_image/responsive_image.module index eab182dc621..6e0c453c5ec 100644 --- a/core/modules/responsive_image/responsive_image.module +++ b/core/modules/responsive_image/responsive_image.module @@ -345,8 +345,8 @@ function template_preprocess_responsive_image(&$variables) { * @param array $multipliers * An array with multipliers as keys and image style mappings as values. * - * @return \Drupal\Core\Template\Attribute[] - * An array of attributes for the source tag. + * @return \Drupal\Core\Template\Attribute + * An object of attributes for the source tag. */ function _responsive_image_build_source_attributes(array $variables, BreakpointInterface $breakpoint, array $multipliers) { if ((empty($variables['width']) || empty($variables['height']))) {