@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | * Extensions\Lingo\LingoParser constructor. |
58 | 58 | * @param LingoMessageLog|null $messages |
59 | 59 | */ |
60 | - public function __construct( LingoMessageLog &$messages = null ) { |
|
60 | + public function __construct( LingoMessageLog & $messages = null ) { |
|
61 | 61 | global $wgexLingoBackend; |
62 | 62 | |
63 | 63 | $this->mLingoBackend = new $wgexLingoBackend( $messages ); |
@@ -69,7 +69,7 @@ discard block |
||
69 | 69 | * @param string $text |
70 | 70 | * @return Boolean |
71 | 71 | */ |
72 | - public static function parse( Parser &$parser, &$text ) { |
|
72 | + public static function parse( Parser & $parser, &$text ) { |
|
73 | 73 | |
74 | 74 | if ( !self::$parserSingleton ) { |
75 | 75 | self::$parserSingleton = new LingoParser(); |
@@ -135,13 +135,13 @@ discard block |
||
135 | 135 | } else { |
136 | 136 | |
137 | 137 | wfDebug( "Cache miss: Lingo tree not found in cache.\n" ); |
138 | - $this->mLingoTree =& $this->buildLingo(); |
|
138 | + $this->mLingoTree = & $this->buildLingo(); |
|
139 | 139 | $cache->set( $cachekey, $this->mLingoTree ); |
140 | 140 | wfDebug( "Cached lingo tree.\n" ); |
141 | 141 | } |
142 | 142 | } else { |
143 | 143 | wfDebug( "Caching of lingo tree disabled.\n" ); |
144 | - $this->mLingoTree =& $this->buildLingo(); |
|
144 | + $this->mLingoTree = & $this->buildLingo(); |
|
145 | 145 | } |
146 | 146 | |
147 | 147 | } |