aboutsummaryrefslogtreecommitdiffstats
path: root/includes/diff/WordAccumulator.php
diff options
context:
space:
mode:
authorUmherirrender <umherirrender_de.wp@web.de>2020-11-21 02:11:54 +0100
committerUmherirrender <umherirrender_de.wp@web.de>2020-11-22 19:09:02 +0000
commit692148fd62b21127c310657417c9b5ed4e40a1ea (patch)
tree9b57d2df1b750f6765a5eda78335f2a0b6bd3d4e /includes/diff/WordAccumulator.php
parent3a2708bf9461aea471416ff618b9607ac4dc6295 (diff)
downloadmediawikicore-692148fd62b21127c310657417c9b5ed4e40a1ea.tar.gz
mediawikicore-692148fd62b21127c310657417c9b5ed4e40a1ea.zip
Improve and add documentation to diff related classes
Change-Id: Ic10c700e970018fa0b9a219d96d56908b0298d71
Diffstat (limited to 'includes/diff/WordAccumulator.php')
-rw-r--r--includes/diff/WordAccumulator.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/includes/diff/WordAccumulator.php b/includes/diff/WordAccumulator.php
index a40c5b43b4af..27b076c42afa 100644
--- a/includes/diff/WordAccumulator.php
+++ b/includes/diff/WordAccumulator.php
@@ -32,12 +32,18 @@ namespace MediaWiki\Diff;
* @ingroup DifferenceEngine
*/
class WordAccumulator {
+ /** @var string */
public $insClass = ' class="diffchange diffchange-inline"';
+ /** @var string */
public $delClass = ' class="diffchange diffchange-inline"';
+ /** @var array */
private $lines = [];
+ /** @var string */
private $line = '';
+ /** @var string */
private $group = '';
+ /** @var string */
private $tag = '';
/**