X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fskins%2FBaseTemplate.php;h=cd63796088a55162d4bfffa797a267518ce9f413;hb=67ede2daaca02a9a34e549ae978e39d01743598a;hp=cad69a594e60f33e5956ac765252a73c942301a5;hpb=7b69a2b340c643ec28138c29e60d4632fafc7939;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/skins/BaseTemplate.php b/includes/skins/BaseTemplate.php index cad69a594e..cd63796088 100644 --- a/includes/skins/BaseTemplate.php +++ b/includes/skins/BaseTemplate.php @@ -33,6 +33,7 @@ abstract class BaseTemplate extends QuickTemplate { * * @param string $name Message name * @param mixed $params,... Message params + * @suppress PhanCommentParamWithoutRealParam HHVM bug T228695#5450847 * @return Message */ public function getMsg( $name /* ... */ ) { @@ -443,8 +444,10 @@ abstract class BaseTemplate extends QuickTemplate { * @param array $item Array of list item data containing some of a specific set of keys. * The "id", "class" and "itemtitle" keys will be used as attributes for the list item, * if "active" contains a value of true a "active" class will also be appended to class. + * @phan-param array{id?:string,class?:string,itemtitle?:string,active?:bool} $item * * @param array $options + * @phan-param array{tag?:string} $options * * If you want something other than a "
  • " you can pass a tag name such as * "tag" => "span" in the $options array to change the tag used.