Completed
Push — master ( 925a43...c102e0 )
by
unknown
06:05
created
src/LingoParser.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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
 		}
Please login to merge, or discard this patch.