Refactor: Use local variables for editsections in Parser
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 4 Jul 2014 20:19:48 +0000 (22:19 +0200)
committerUmherirrender <umherirrender_de.wp@web.de>
Fri, 5 Sep 2014 13:33:05 +0000 (13:33 +0000)
commit896f835ea99d9bee03c2949436bd6a7371aef9e8
tree6af303d14b9919db9d75bcae3c80c143ea0a0d99
parent6b9a1c6d5b96dd55b05b9db5d4ab864973b7ff8f
Refactor: Use local variables for editsections in Parser

In Parser.php an array was built and then the elements of that array
were used, replaced this by local vars.

In ParserOutput.php also use local vars to make the code more readable.
Also inlined a private callback by using an anonymous function.

Change-Id: I1c31c9e4855f93a8fb65e1c21faba46fcdcb1f4b
includes/parser/Parser.php
includes/parser/ParserOutput.php