X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FMessage.php;h=7d05f41e86cda77ce6203dec1b447e042ec92620;hb=a7064a0883ec6d715c8c8103efe777769a85437d;hp=fac9a598939b3ea73ee917a7a5ae9275bd7c2746;hpb=b6af56e2cce9fcd42dda71ade7a77b173d110865;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/Message.php b/includes/Message.php index fac9a59893..7d05f41e86 100644 --- a/includes/Message.php +++ b/includes/Message.php @@ -1105,7 +1105,7 @@ class Message implements MessageSpecifier, Serializable { public static function listParam( array $list, $type = 'text' ) { if ( !isset( self::$listTypeMap[$type] ) ) { throw new InvalidArgumentException( - "Invalid type '$type'. Known types are: " . join( ', ', array_keys( self::$listTypeMap ) ) + "Invalid type '$type'. Known types are: " . implode( ', ', array_keys( self::$listTypeMap ) ) ); } return [ 'list' => $list, 'type' => $type ];