X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FHistoryBlob.php;h=69f1120d43f6df9bedb4349478228fb0454e1d11;hb=de6393d19099df4c5c120784c304738fb5885944;hp=d0cae363fa91f51b5ceccc908e43c1f2efc08a9c;hpb=01da3da43d18b123fe3679a6af21f046a78180d5;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/HistoryBlob.php b/includes/HistoryBlob.php index d0cae363fa..69f1120d43 100644 --- a/includes/HistoryBlob.php +++ b/includes/HistoryBlob.php @@ -202,7 +202,7 @@ class HistoryBlobStub { /** @var string */ public $mHash; - /** @var */ + /** @var string */ public $mRef; /** @@ -351,10 +351,10 @@ class HistoryBlobCurStub { */ class DiffHistoryBlob implements HistoryBlob { /** @var array Uncompressed item cache */ - protected $mItems = array(); + public $mItems = array(); /** @var int Total uncompressed size */ - protected $mSize = 0; + public $mSize = 0; /** * @var array Array of diffs. If a diff D from A to B is notated D = B - A, @@ -364,20 +364,20 @@ class DiffHistoryBlob implements HistoryBlob { * diff[i] = { * { item[map[i]] - Z where i = 0 */ - protected $mDiffs; + public $mDiffs; /** @var array The diff map, see above */ - protected $mDiffMap; + public $mDiffMap; /** @var int The key for getText() */ - protected $mDefaultKey; + public $mDefaultKey; /** @var string Compressed storage */ public $mCompressed; /** @var bool True if the object is locked against further writes */ - protected $mFrozen = false; + public $mFrozen = false; /** * @var int The maximum uncompressed size before the object becomes sad @@ -593,7 +593,7 @@ class DiffHistoryBlob implements HistoryBlob { * the bytes backwards and initialised with 0 instead of 1. See bug 34428. * * @param string $s - * @return string|bool false if the hash extension is not available + * @return string|bool False if the hash extension is not available */ function xdiffAdler32( $s ) { if ( !function_exists( 'hash' ) ) {