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
parent
a9accd54b1
commit
8e88e7fb7c
|
@ -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']))) {
|
||||
|
|
Loading…
Reference in New Issue