summaryrefslogtreecommitdiff
path: root/lib/plugins/syntax.php
diff options
context:
space:
mode:
authorGerrit Uitslag <klapinklapin@gmail.com>2014-12-09 17:26:28 +0100
committerGerrit Uitslag <klapinklapin@gmail.com>2014-12-09 17:26:28 +0100
commit8702de7f7e170bddfdb622c393c3cac3446fd1c5 (patch)
treec7269ea61f5d4230a6f916dbabee4ce412e0a9fb /lib/plugins/syntax.php
parent1cc82e5c76ae7fcd646e448404afdc0fd458bf55 (diff)
parent9a0ca2cfd8ac42895af3be2efbd2cab7e6d33578 (diff)
downloadrpg-8702de7f7e170bddfdb622c393c3cac3446fd1c5.tar.gz
rpg-8702de7f7e170bddfdb622c393c3cac3446fd1c5.tar.bz2
Merge remote-tracking branch 'origin/master' into scrutinizerissues
Conflicts: inc/media.php inc/plugin.php inc/template.php lib/plugins/authplain/_test/escaping.test.php lib/plugins/syntax.php
Diffstat (limited to 'lib/plugins/syntax.php')
-rw-r--r--lib/plugins/syntax.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/plugins/syntax.php b/lib/plugins/syntax.php
index 7acf681e4..9e2913d78 100644
--- a/lib/plugins/syntax.php
+++ b/lib/plugins/syntax.php
@@ -71,7 +71,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param int $state The lexer state for the match
* @param int $pos The character position of the matched text
* @param Doku_Handler $handler The Doku_Handler object
- * @return array Return an array with all data you want to use in render
+ * @return bool|array Return an array with all data you want to use in render, false don't add an instruction
*/
function handle($match, $state, $pos, Doku_Handler $handler){
trigger_error('handle() not implemented in '.get_class($this), E_USER_WARNING);
@@ -98,7 +98,7 @@ class DokuWiki_Syntax_Plugin extends Doku_Parser_Mode_Plugin {
* @param string $format output format being rendered
* @param Doku_Renderer $renderer the current renderer object
* @param array $data data created by handler()
- * @return boolean rendered correctly?
+ * @return boolean rendered correctly? (however, returned value is not used at the moment)
*/
function render($format, Doku_Renderer $renderer, $data) {
trigger_error('render() not implemented in '.get_class($this), E_USER_WARNING);