At one point SearchIndexFieldDefinition was updated to require the
engine to be passed in, but it seems that update was missed here.
BackupDumper::loadPlugin() requires the second argument, set it to
the empty string to keep current behaviour.
Change-Id: Ifbd8fc4870ff63b2d338f8bb4d251d7a3477b989
];
foreach ( $this->subfields as $subfield ) {
- $mapping['subfields'][] = $subfield->getMapping();
+ $mapping['subfields'][] = $subfield->getMapping( $engine );
}
return $mapping;
$val = explode( ':', $param );
if ( count( $val ) === 1 ) {
- $this->loadPlugin( $val[0] );
+ $this->loadPlugin( $val[0], '' );
} elseif ( count( $val ) === 2 ) {
$this->loadPlugin( $val[0], $val[1] );
} else {
"PhanParamSignatureMismatch",
// approximate error count: 7
"PhanParamSignatureMismatchInternal",
- // approximate error count: 2
- "PhanParamTooFew",
// approximate error count: 308
"PhanParamTooMany",
// approximate error count: 3