Set visibility for class property of RegexlikeReplacer
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 7 Nov 2013 22:05:55 +0000 (23:05 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Thu, 7 Nov 2013 22:05:55 +0000 (23:05 +0100)
Only used in StringUtils::delimiterReplace(). Search core and 600+
extensions.

Change-Id: Ibbf0edd1143f7bd2dc39e9ad913d1e4a38f60dfc

includes/utils/StringUtils.php

index 5f19e1c..9cd3d3f 100644 (file)
@@ -333,7 +333,7 @@ class Replacer {
  * Class to replace regex matches with a string similar to that used in preg_replace()
  */
 class RegexlikeReplacer extends Replacer {
-       var $r;
+       private $r;
 
        /**
         * @param string $r