From fe1ef3920ce50ece1892b6ec97bb760dec002c71 Mon Sep 17 00:00:00 2001 From: Derick Alangi Date: Wed, 6 Mar 2019 23:20:56 +0100 Subject: [PATCH] Use the .= operator to concatenate a var with another Rather than using $var = $var . $foo, to avoid the redundancy, use $var .= $foo which is a valid PHP syntax and popularly used. Change-Id: Idbbdb31a7b5561ed97f9ba0f05f6ac78c9419f82 --- includes/skins/QuickTemplate.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/skins/QuickTemplate.php b/includes/skins/QuickTemplate.php index 1e688ebf06..5044301305 100644 --- a/includes/skins/QuickTemplate.php +++ b/includes/skins/QuickTemplate.php @@ -63,7 +63,7 @@ abstract class QuickTemplate { */ public function extend( $name, $value ) { if ( $this->haveData( $name ) ) { - $this->data[$name] = $this->data[$name] . $value; + $this->data[$name] .= $value; } else { $this->data[$name] = $value; } -- 2.20.1