mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-08 04:18:52 +00:00
[ticket/13801] Updated comments for clarity
PHPBB3-13801
This commit is contained in:
parent
deadc06652
commit
7b552152b4
3 changed files with 4 additions and 2 deletions
|
@ -1256,6 +1256,7 @@ class parse_message extends bbcode_firstpass
|
|||
{
|
||||
foreach ($errors as $i => $args)
|
||||
{
|
||||
// Translate each error with $user->lang()
|
||||
$errors[$i] = call_user_func_array(array($user, 'lang'), $args);
|
||||
}
|
||||
$this->warn_msg = array_merge($this->warn_msg, $errors);
|
||||
|
|
|
@ -82,7 +82,8 @@ interface parser_interface
|
|||
/**
|
||||
* Get the list of errors that were generated during last parsing
|
||||
*
|
||||
* @return array
|
||||
* @return array[] Array of arrays. Each array contains a lang string at index 0 plus any number
|
||||
* of optional parameters
|
||||
*/
|
||||
public function get_errors();
|
||||
|
||||
|
|
|
@ -186,7 +186,7 @@ class parser implements \phpbb\textformatter\parser_interface
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*
|
||||
* This will translate the log entries found in s9e\TextFormatter's logger into phpBB error
|
||||
* This will convert the log entries found in s9e\TextFormatter's logger into phpBB error
|
||||
* messages
|
||||
*/
|
||||
public function get_errors()
|
||||
|
|
Loading…
Add table
Reference in a new issue