X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fmedia%2FFormatMetadata.php;h=74e51cfb8e7b808e65a24b7a1a6183119faeebd5;hb=5ca5672aacfa855ed1ac8f5570b9f7d10c1eb0b0;hp=390b2173aa7b7d53b3c9694bcda5d2e46caf6e1f;hpb=51164d416c92ff468289cc4b6345c42b02929b4d;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/media/FormatMetadata.php b/includes/media/FormatMetadata.php index 390b2173aa..74e51cfb8e 100644 --- a/includes/media/FormatMetadata.php +++ b/includes/media/FormatMetadata.php @@ -1617,8 +1617,7 @@ class FormatMetadata extends ContextSource { * @return mixed value in best language, null if there were no languages at all * @since 1.23 */ - protected function resolveMultilangValue( $value ) - { + protected function resolveMultilangValue( $value ) { if ( !is_array( $value ) || !isset( $value['_type'] ) @@ -1732,8 +1731,7 @@ class FormatMetadata extends ContextSource { * @return array * @since 1.23 */ - protected function getPriorityLanguages() - { + protected function getPriorityLanguages() { $priorityLanguages = Language::getFallbacksIncludingSiteLanguage( $this->getLanguage()->getCode() ); $priorityLanguages = array_merge( (array) $this->getLanguage()->getCode(), $priorityLanguages[0], $priorityLanguages[1] ); return $priorityLanguages;