aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/parser/code.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/parser/code.php')
-rw-r--r--inc/parser/code.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/inc/parser/code.php b/inc/parser/code.php
index 2353e0dfa..fe93273e5 100644
--- a/inc/parser/code.php
+++ b/inc/parser/code.php
@@ -13,6 +13,10 @@ class Doku_Renderer_code extends Doku_Renderer {
* Send the wanted code block to the browser
*
* When the correct block was found it exits the script.
+ *
+ * @param string $text
+ * @param string $language
+ * @param string $filename
*/
function code($text, $language = null, $filename = '') {
global $INPUT;
@@ -39,6 +43,10 @@ class Doku_Renderer_code extends Doku_Renderer {
/**
* Wraps around code()
+ *
+ * @param string $text
+ * @param string $language
+ * @param string $filename
*/
function file($text, $language = null, $filename = '') {
$this->code($text, $language, $filename);