1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/12273] Fix doc blocks

PHPBB3-12273
This commit is contained in:
Joas Schilling
2014-04-26 16:30:19 +02:00
parent 18be18e998
commit 6aa8596d4d
2 changed files with 35 additions and 6 deletions

View File

@@ -46,17 +46,35 @@ class php_exporter
$this->current_event_line = 0;
}
/**
* Get the list of all events
*
* @return array Array with events: name => details
*/
public function get_events()
{
return $this->events;
}
/**
* Set current event data
*
* @param string $name Name of the current event (used for error messages)
* @param int $line Line where the current event is placed in
* @return null
*/
public function set_current_event($name, $line)
{
$this->current_event = $name;
$this->current_event_line = $line;
}
/**
* Set the content of this file
*
* @param array $content Array with the lines of the file
* @return null
*/
public function set_content($content)
{
$this->file_lines = $content;
@@ -322,6 +340,8 @@ class php_exporter
* Find the variables in single line array
*
* @param string $line
* @param bool $throw_multiline Throw an exception when there are too
* many arguments in one line.
* @return array List of variables
* @throws \LogicException
*/
@@ -349,7 +369,6 @@ class php_exporter
/**
* Find the variables in single line array
*
* @param string $line
* @return array List of variables
* @throws \LogicException
*/