Minor: Rename a function arg

Change-Id: I689eef42414749c2cf47be55268b5bb2575d8078
This commit is contained in:
Subramanya Sastry 2019-11-22 12:27:55 -06:00
parent ad229c1ac0
commit 1ec3fdbe33

View file

@ -21,7 +21,7 @@ use Parsoid\Utils\WTUtils;
class Ref extends ExtensionTag {
/** @inheritDoc */
public function toDOM( ParsoidExtensionAPI $extApi, string $txt, array $extExtArgs ) {
public function toDOM( ParsoidExtensionAPI $extApi, string $txt, array $extArgs ) {
// Drop nested refs entirely, unless we've explicitly allowed them
if ( ( $extApi->parseContext['extTag'] ?? null ) === 'ref' &&
empty( $extApi->parseContext['extTagOpts']['allowNestedRef'] )
@ -37,7 +37,7 @@ class Ref extends ExtensionTag {
( $extApi->parseContext['extTag'] ?? null ) !== 'ref';
return $extApi->parseTokenContentsToDOM(
$extExtArgs,
$extArgs,
'',
$txt,
[