Merge "Fix \n handling for HTMLUsersMultiselectField"
[lhc/web/wiklou.git] / tests / phpunit / includes / LinkerTest.php
index 3edf99f..2ca5935 100644 (file)
@@ -385,21 +385,21 @@ class LinkerTest extends MediaWikiLangTestCase {
                return [
                        // Override $html
                        [
-                               function( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
+                               function ( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
                                        $html = 'foobar';
                                },
                                '<a href="/wiki/Special:BlankPage" title="Special:BlankPage">foobar</a>'
                        ],
                        // Modify $attribs
                        [
-                               function( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
+                               function ( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
                                        $attribs['bar'] = 'baz';
                                },
                                '<a href="/wiki/Special:BlankPage" title="Special:BlankPage" bar="baz">Special:BlankPage</a>'
                        ],
                        // Fully override return value and abort hook
                        [
-                               function( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
+                               function ( $dummy, $title, $options, &$html, &$attribs, &$ret ) {
                                        $ret = 'blahblahblah';
                                        return false;
                                },