mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-24 06:03:49 +00:00
Fix doc of AbuseFilterParser::evaluateExpression
It was changed to use AFPData::toNative, so it no longer returns a string. Instead, it can return any PHP native type. Change-Id: I92eba03a5fa1149860634a97318b5b15807eb5a5
This commit is contained in:
parent
707450c01c
commit
1893120748
|
@ -416,7 +416,7 @@ class AbuseFilterParser extends AFPTransitionBase {
|
|||
|
||||
/**
|
||||
* @param string $filter
|
||||
* @return string
|
||||
* @return mixed
|
||||
*/
|
||||
public function evaluateExpression( $filter ) {
|
||||
return $this->intEval( $filter )->toNative();
|
||||
|
|
Loading…
Reference in a new issue