From: Siebrand Mazeland Date: Thu, 7 Nov 2013 22:02:03 +0000 (+0100) Subject: Set visibility on class properties of ExplodeIterator X-Git-Tag: 1.31.0-rc.0~18232^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=e58e2c12a795e0d193f8d206fd2ca0bfbbff96fd;p=lhc%2Fweb%2Fwiklou.git Set visibility on class properties of ExplodeIterator Set to private. Only used in StringUtils::explode(). Searched core and 600+ extensions. Change-Id: Idbf981d1864f45bbb4adce08803dc693d9a5c200 --- diff --git a/includes/utils/StringUtils.php b/includes/utils/StringUtils.php index c506a7676f..5f19e1cb36 100644 --- a/includes/utils/StringUtils.php +++ b/includes/utils/StringUtils.php @@ -525,19 +525,19 @@ class ReplacementArray { */ class ExplodeIterator implements Iterator { // The subject string - var $subject, $subjectLength; + private $subject, $subjectLength; // The delimiter - var $delim, $delimLength; + private $delim, $delimLength; // The position of the start of the line - var $curPos; + private $curPos; // The position after the end of the next delimiter - var $endPos; + private $endPos; // The current token - var $current; + private $current; /** * Construct a DelimIterator