dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Soft deprecation of DatabaseMysql"
[lhc/web/wiklou.git]
/
includes
/
parser
/
Preprocessor_Hash.php
diff --git
a/includes/parser/Preprocessor_Hash.php
b/includes/parser/Preprocessor_Hash.php
index
25d253f
..
8e84cb2
100644
(file)
--- a/
includes/parser/Preprocessor_Hash.php
+++ b/
includes/parser/Preprocessor_Hash.php
@@
-569,7
+569,7
@@
class Preprocessor_Hash extends Preprocessor {
$curLen = strlen( $curChar );
$count = ( $curLen > 1 ) ?
# allow the final character to repeat
$curLen = strlen( $curChar );
$count = ( $curLen > 1 ) ?
# allow the final character to repeat
- strspn( $text, $curChar[$curLen
-1], $i+
1 ) + 1 :
+ strspn( $text, $curChar[$curLen
- 1], $i +
1 ) + 1 :
strspn( $text, $curChar, $i );
# we need to add to stack only if opening brace count is enough for one of the rules
strspn( $text, $curChar, $i );
# we need to add to stack only if opening brace count is enough for one of the rules
@@
-1715,7
+1715,7
@@
class PPNode_Hash_Tree implements PPNode {
* store array can be accessed via getNextSibling().
*
* @param array $store
* store array can be accessed via getNextSibling().
*
* @param array $store
- * @param int
eger
$index
+ * @param int $index
*/
public function __construct( array $store, $index ) {
$this->store = $store;
*/
public function __construct( array $store, $index ) {
$this->store = $store;
@@
-1728,7
+1728,7
@@
class PPNode_Hash_Tree implements PPNode {
* on what is at the relevant store index.
*
* @param array $store
* on what is at the relevant store index.
*
* @param array $store
- * @param int
eger
$index
+ * @param int $index
* @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text
*/
public static function factory( array $store, $index ) {
* @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text
*/
public static function factory( array $store, $index ) {
@@
-1787,7
+1787,7
@@
class PPNode_Hash_Tree implements PPNode {
* return a temporary proxy object: different instances will be returned
* if this is called more than once on the same node.
*
* return a temporary proxy object: different instances will be returned
* if this is called more than once on the same node.
*
- * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text|bool
ean
+ * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text|bool
*/
public function getFirstChild() {
if ( !isset( $this->rawChildren[0] ) ) {
*/
public function getFirstChild() {
if ( !isset( $this->rawChildren[0] ) ) {
@@
-1802,7
+1802,7
@@
class PPNode_Hash_Tree implements PPNode {
* return a temporary proxy object: different instances will be returned
* if this is called more than once on the same node.
*
* return a temporary proxy object: different instances will be returned
* if this is called more than once on the same node.
*
- * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text|bool
ean
+ * @return PPNode_Hash_Tree|PPNode_Hash_Attr|PPNode_Hash_Text|bool
*/
public function getNextSibling() {
return self::factory( $this->store, $this->index + 1 );
*/
public function getNextSibling() {
return self::factory( $this->store, $this->index + 1 );
@@
-2027,7
+2027,7
@@
class PPNode_Hash_Text implements PPNode {
* store array can be accessed via getNextSibling().
*
* @param array $store
* store array can be accessed via getNextSibling().
*
* @param array $store
- * @param int
eger
$index
+ * @param int $index
*/
public function __construct( array $store, $index ) {
$this->value = $store[$index];
*/
public function __construct( array $store, $index ) {
$this->value = $store[$index];
@@
-2156,7
+2156,7
@@
class PPNode_Hash_Attr implements PPNode {
* store array can be accessed via getNextSibling().
*
* @param array $store
* store array can be accessed via getNextSibling().
*
* @param array $store
- * @param int
eger
$index
+ * @param int $index
*/
public function __construct( array $store, $index ) {
$descriptor = $store[$index];
*/
public function __construct( array $store, $index ) {
$descriptor = $store[$index];