X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FConfEditor.php;h=67cb87db1e157d8be24e84dbfddd01628923ad20;hb=634f48b9d09648ec38781d222d186513e96b9ab7;hp=78af1c102e60d3b2c0a825d3b14b3e18f9c278f0;hpb=aba48f4ef94fb85b571a25cb9fb49a9a62dc3f44;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/ConfEditor.php b/includes/ConfEditor.php index 78af1c102e..67cb87db1e 100644 --- a/includes/ConfEditor.php +++ b/includes/ConfEditor.php @@ -570,7 +570,7 @@ class ConfEditor { public function parse() { $this->initParse(); $this->pushState( 'file' ); - $this->pushPath( '@extra-' . ($this->serial++) ); + $this->pushPath( '@extra-' . ( $this->serial++ ) ); $token = $this->firstToken(); while ( !$token->isEnd() ) { @@ -642,7 +642,7 @@ class ConfEditor { } $this->skipSpace(); $this->expect( ';' ); - $this->nextPath( '@extra-' . ($this->serial++) ); + $this->nextPath( '@extra-' . ( $this->serial++ ) ); break; case 'expression': $token = $this->skipSpace(); @@ -662,7 +662,7 @@ class ConfEditor { $this->skipSpace(); $this->expect( '(' ); $this->skipSpace(); - $this->pushPath( '@extra-' . ($this->serial++) ); + $this->pushPath( '@extra-' . ( $this->serial++ ) ); if ( $this->isAhead( ')' ) ) { // Empty array $this->pushState( 'array end' ); @@ -694,7 +694,7 @@ class ConfEditor { $this->endPathValue(); $this->markComma(); $this->nextToken(); - $this->nextPath( '@extra-' . ($this->serial++) ); + $this->nextPath( '@extra-' . ( $this->serial++ ) ); // Look ahead to find ending bracket if ( $this->isAhead( ")" ) ) { // Found ending bracket, no continuation