From e12dd895e9a495faa552941cf8b10a3467ffc764 Mon Sep 17 00:00:00 2001 From: Carsten Brandt Date: Fri, 10 Mar 2017 16:01:24 +0100 Subject: [PATCH] improved docs for #13576 --- framework/helpers/BaseHtml.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/framework/helpers/BaseHtml.php b/framework/helpers/BaseHtml.php index 4702aff4e1..4d41821498 100644 --- a/framework/helpers/BaseHtml.php +++ b/framework/helpers/BaseHtml.php @@ -432,9 +432,10 @@ class BaseHtml * the attributes of the resulting tag. The values will be HTML-encoded using [[encode()]]. * If a value is null, the corresponding attribute will not be rendered. * See [[renderTagAttributes()]] for details on how attributes are being rendered. - * @since 2.0.12 It is possible to pass the "srcset" option as an array which keys are + * + * Since version 2.0.12 It is possible to pass the `srcset` option as an array which keys are * descriptors and values are URLs. All URLs will be processed by [[Url::to()]]. - * @return string the generated image tag + * @return string the generated image tag. */ public static function img($src, $options = []) {