summaryrefslogtreecommitdiff
path: root/inc/parser/parser.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2015-01-10 16:53:42 +0100
committerAndreas Gohr <andi@splitbrain.org>2015-01-10 16:53:42 +0100
commitcbc6fa6b91a980ef8ad499c1c7d9bf884d9017c1 (patch)
tree8709a170db6b836c8f6ea834a6c83ea607a008cc /inc/parser/parser.php
parentd7862ff55cfced5ef441903c84af1c622d7b2736 (diff)
parent276820f70d7e96ee375735c1a15bdc0a8331a5a7 (diff)
downloadrpg-cbc6fa6b91a980ef8ad499c1c7d9bf884d9017c1.tar.gz
rpg-cbc6fa6b91a980ef8ad499c1c7d9bf884d9017c1.tar.bz2
Merge pull request #1000 from splitbrain/scrutinizer-patch-1
Scrutinizer Auto-Fixes
Diffstat (limited to 'inc/parser/parser.php')
-rw-r--r--inc/parser/parser.php9
1 files changed, 9 insertions, 0 deletions
diff --git a/inc/parser/parser.php b/inc/parser/parser.php
index df01f3302..5f86cf5c4 100644
--- a/inc/parser/parser.php
+++ b/inc/parser/parser.php
@@ -61,6 +61,9 @@ class Doku_Parser {
var $connected = false;
+ /**
+ * @param Doku_Parser_Mode_base $BaseMode
+ */
function addBaseMode(& $BaseMode) {
$this->modes['base'] =& $BaseMode;
if ( !$this->Lexer ) {
@@ -139,6 +142,7 @@ interface Doku_Parser_Mode_Interface {
/**
* Called before any calls to connectTo
+ * @return void
*/
function preConnect();
@@ -146,11 +150,13 @@ interface Doku_Parser_Mode_Interface {
* Connects the mode
*
* @param string $mode
+ * @return void
*/
function connectTo($mode);
/**
* Called after all calls to connectTo
+ * @return void
*/
function postConnect();
@@ -407,6 +413,9 @@ class Doku_Parser_Mode_formatting extends Doku_Parser_Mode {
),
);
+ /**
+ * @param string $type
+ */
function Doku_Parser_Mode_formatting($type) {
global $PARSER_MODES;