From e58e2c12a795e0d193f8d206fd2ca0bfbbff96fd Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 7 Nov 2013 23:02:03 +0100 Subject: [PATCH] Set visibility on class properties of ExplodeIterator Set to private. Only used in StringUtils::explode(). Searched core and 600+ extensions. Change-Id: Idbf981d1864f45bbb4adce08803dc693d9a5c200 --- includes/utils/StringUtils.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 -- 2.20.1