mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
Merge "Update documentation of mode argument"
This commit is contained in:
commit
f9a410a600
|
@ -58,7 +58,7 @@ class VariablesManager {
|
|||
* @param VariableHolder $holder
|
||||
* @param string $varName The variable name
|
||||
* @param int $mode One of the self::GET_* constants, determines how to behave when the variable is unset:
|
||||
* - GET_STRICT -> In the future, this will throw an exception. For now it returns a DUNDEFINED and logs a warning
|
||||
* - GET_STRICT -> Throw UnsetVariableException
|
||||
* - GET_LAX -> Return a DUNDEFINED AFPData
|
||||
* - GET_BC -> Return a DNULL AFPData (this should only be used for BC, see T230256)
|
||||
* @return AFPData
|
||||
|
|
Loading…
Reference in a new issue