* Use whatever the relative field is as the standard HTML input.
*/
public function getInputHTML( $value ) {
- return $this->relativeField->getInputHtml( $value );
+ return $this->relativeField->getInputHTML( $value );
}
protected function shouldInfuseOOUI() {
$this->relativeField->getInputOOUI( $value ),
[
'id' => $this->mID,
- 'required' => isset( $this->mParams['required'] ) ? $this->mParams['required'] : false,
+ 'required' => $this->mParams['required'] ?? false,
]
);
}