summaryrefslogtreecommitdiff
path: root/inc/parser
diff options
context:
space:
mode:
authorScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-10 14:47:51 +0000
committerScrutinizer Auto-Fixer <auto-fixer@scrutinizer-ci.com>2015-01-10 14:47:51 +0000
commit276820f70d7e96ee375735c1a15bdc0a8331a5a7 (patch)
tree8709a170db6b836c8f6ea834a6c83ea607a008cc /inc/parser
parentd7862ff55cfced5ef441903c84af1c622d7b2736 (diff)
downloadrpg-276820f70d7e96ee375735c1a15bdc0a8331a5a7.tar.gz
rpg-276820f70d7e96ee375735c1a15bdc0a8331a5a7.tar.bz2
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
Diffstat (limited to 'inc/parser')
-rw-r--r--inc/parser/handler.php6
-rw-r--r--inc/parser/parser.php9
2 files changed, 15 insertions, 0 deletions
diff --git a/inc/parser/handler.php b/inc/parser/handler.php
index 731c19828..b8e2de82a 100644
--- a/inc/parser/handler.php
+++ b/inc/parser/handler.php
@@ -21,6 +21,9 @@ class Doku_Handler {
$this->CallWriter = new Doku_Handler_CallWriter($this);
}
+ /**
+ * @param string $handler
+ */
function _addCall($handler, $args, $pos) {
$call = array($handler,$args, $pos);
$this->CallWriter->writeCall($call);
@@ -133,6 +136,9 @@ class Doku_Handler {
return true;
}
+ /**
+ * @param string $name
+ */
function _nestingTag($match, $state, $pos, $name) {
switch ( $state ) {
case DOKU_LEXER_ENTER:
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;