Code style fixes ('<?php Lang::out(' -> '<?= Lang::get(').
This commit is contained in:
parent
2a3adf25af
commit
8a29f5aefe
24 changed files with 123 additions and 125 deletions
|
|
@ -54,16 +54,6 @@ class Lang
|
|||
return $string;
|
||||
}
|
||||
|
||||
/**
|
||||
* Output a specific string from the language file.
|
||||
*
|
||||
* @param array ...$params
|
||||
*/
|
||||
public static function out(...$params)
|
||||
{
|
||||
print call_user_func_array(['PHPCensor\Helper\Lang', 'get'], $params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the currently active language.
|
||||
*
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue