X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Fhtmlform%2FHTMLFormElement.php;h=10db90cca2e6cf05425489cc5b14a80823d9e164;hp=089213cff56e04e01786522d291a4652bd168636;hb=5049af1048c77b1ea6ab3193688d23a48ddf8df0;hpb=59d6485b0be04fb9330f3f07d790ab851f7a642d diff --git a/includes/htmlform/HTMLFormElement.php b/includes/htmlform/HTMLFormElement.php index 089213cff5..10db90cca2 100644 --- a/includes/htmlform/HTMLFormElement.php +++ b/includes/htmlform/HTMLFormElement.php @@ -26,7 +26,7 @@ trait HTMLFormElement { // And it's not needed anymore after infusing, so we don't put it in JS config at all. $this->setAttributes( [ 'data-mw-modules' => implode( ',', $this->modules ) ] ); } - $this->registerConfigCallback( function( &$config ) { + $this->registerConfigCallback( function ( &$config ) { if ( $this->hideIf !== null ) { $config['hideIf'] = $this->hideIf; }