Issue #3312883 by smavri, rpayanm, smustgrave: Update variable type PHPDoc in _responsive_image_build_source_attributes function

(cherry picked from commit 5bfa2eee07)
merge-requests/2775/head
Lauri Eskola 2023-02-18 09:42:18 +02:00
parent a9accd54b1
commit 8e88e7fb7c
No known key found for this signature in database
GPG Key ID: 382FC0F5B0DF53F8
1 changed files with 2 additions and 2 deletions

View File

@ -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']))) {