X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fskins%2FBaseTemplate.php;h=cd63796088a55162d4bfffa797a267518ce9f413;hb=cfd56e52d96e7c65215a4d9d2f10962794c67f88;hp=cad69a594e60f33e5956ac765252a73c942301a5;hpb=c1d51d0c703a61010eb8cc73207e8a074d8c8e2e;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.