Remove comments that literally repeat the code

Change-Id: I6508745504af15a233ed4f6981c5114b72f1805a
This commit is contained in:
Thiemo Kreuz 2022-01-10 10:44:08 +01:00 committed by DannyS712
parent 6633e446d9
commit 6d7d686441
2 changed files with 4 additions and 14 deletions

View file

@ -49,8 +49,6 @@ abstract class Scribunto_LuaLibraryBase {
abstract public function register();
/**
* Get the engine
*
* @return Scribunto_LuaEngine engine
*/
protected function getEngine() {
@ -58,8 +56,6 @@ abstract class Scribunto_LuaLibraryBase {
}
/**
* Get the interpreter
*
* @return Scribunto_LuaInterpreter interpreter
*/
protected function getInterpreter() {
@ -67,27 +63,21 @@ abstract class Scribunto_LuaLibraryBase {
}
/**
* Get the parser
*
* @return Parser parser
* @return Parser
*/
protected function getParser() {
return $this->engine->getParser();
}
/**
* Get the title
*
* @return Title title
* @return Title
*/
protected function getTitle() {
return $this->getEngine()->getTitle();
}
/**
* Get the parser options
*
* @return ParserOptions parser options
* @return ParserOptions
*/
protected function getParserOptions() {
return $this->engine->getParser()->getOptions();

View file

@ -6,7 +6,7 @@ abstract class Scribunto_LuaInterpreter {
* If there is a pass error, a Scribunto_LuaError will be thrown.
*
* @param string $text The Lua source code
* @param string $chunkName The chunk name
* @param string $chunkName
* @return mixed
*/
abstract public function loadString( $text, $chunkName );