summaryrefslogtreecommitdiff
path: root/inc/parser/renderer.php
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2013-08-22 01:12:47 -0700
committerAndreas Gohr <andi@splitbrain.org>2013-08-22 01:12:47 -0700
commit5a3aabcff0e246c29f47c1dd65301712cd553308 (patch)
tree2245231ac0dcbeea7084a751f89699e3307133f2 /inc/parser/renderer.php
parentef0239a32ff44792b95819fe52398f3fc0dc4fae (diff)
parent7ef8e99fe605c5da36ab6b5d317b22fcd17f665b (diff)
downloadrpg-5a3aabcff0e246c29f47c1dd65301712cd553308.tar.gz
rpg-5a3aabcff0e246c29f47c1dd65301712cd553308.tar.bz2
Merge pull request #311 from mperry2/scopeindent
Fix CodeSniffer violations
Diffstat (limited to 'inc/parser/renderer.php')
-rw-r--r--inc/parser/renderer.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/inc/parser/renderer.php b/inc/parser/renderer.php
index 7df369478..4f99c668d 100644
--- a/inc/parser/renderer.php
+++ b/inc/parser/renderer.php
@@ -74,12 +74,12 @@ class Doku_Renderer extends DokuWiki_Plugin {
*/
function nest($instructions) {
- foreach ( $instructions as $instruction ) {
- // execute the callback against ourself
- if (method_exists($this,$instruction[0])) {
- call_user_func_array(array($this, $instruction[0]), $instruction[1] ? $instruction[1] : array());
+ foreach ( $instructions as $instruction ) {
+ // execute the callback against ourself
+ if (method_exists($this,$instruction[0])) {
+ call_user_func_array(array($this, $instruction[0]), $instruction[1] ? $instruction[1] : array());
+ }
}
- }
}
// dummy closing instruction issued by Doku_Handler_Nest, normally the syntax mode should