phpBB

Code Changes

File: phpbb/language/language.php

  Unmodified   Added   Modified   Removed
Line 194Line 194
	}

/**

	}

/**

	 * @param $key array|string		The language key we want to know more about. Can be string or array.

	 * @param	array|string	$key	The language key we want to know more about. Can be string or array.

	 *
* @return bool Returns whether the language key is set.
*/

	 *
* @return bool Returns whether the language key is set.
*/

Line 292Line 292
	 *
* @return string
*/

	 *
* @return string
*/

	public function lang_array($key, $args = array())

	public function lang_array($key, array $args = [])

	{
$lang = $this->lang_raw($key);


	{
$lang = $this->lang_raw($key);


Line 399Line 399
	 *
* @return int The plural-case we need to use for the number plural-rule combination
*

	 *
* @return int The plural-case we need to use for the number plural-rule combination
*

	 * @throws \phpbb\language\exception\invalid_plural_rule_exception	When $force_rule has an invalid value

	 * @throws invalid_plural_rule_exception	When $force_rule has an invalid value

	 */
public function get_plural_form($number, $force_rule = false)
{

	 */
public function get_plural_form($number, $force_rule = false)
{