X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=blobdiff_plain;f=includes%2FMessage.php;h=7d05f41e86cda77ce6203dec1b447e042ec92620;hb=2d030f457620bf29d2e26e892fecb07da4dcd977;hp=fac9a598939b3ea73ee917a7a5ae9275bd7c2746;hpb=a5f91ac24f8253807966140fd3c8666ff6bc2f5c;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 ];