Make AbuseFilterVariableHolder::$mVars public again

+fixme comment per T231542#5451567.

Bug: T231542
Change-Id: If8b7b0568568df93548f12ccdc85fa174ec3558e
This commit is contained in:
Daimona Eaytoy 2019-08-29 18:50:58 +02:00
parent eb91595d8a
commit fdb71b5868

View file

@ -1,8 +1,12 @@
<?php
class AbuseFilterVariableHolder {
/** @var (AFPData|AFComputedVariable)[] */
private $mVars = [];
/**
* @var (AFPData|AFComputedVariable)[]
* @fixme This should be private, but it isn't because of T231542: there are serialized instances
* stored in the DB, and mVars wouldn't be available in HHVM after deserializing them (T213006)
*/
public $mVars = [];
/** @var bool Whether this object is being used for an ongoing action being filtered */
public $forFilter = false;