From: Thalia Date: Thu, 31 Jan 2019 06:17:18 +0000 (-0800) Subject: Correct whitespace and parentheses typos in BlockLogFormatter X-Git-Tag: 1.34.0-rc.0~2979^2 X-Git-Url: http://git.cyclocoop.org/%7B%24admin_url%7Dcompta/comptes/journal.php?a=commitdiff_plain;h=5be7438ed63bcd381e28195b3a118c527a217f8d;p=lhc%2Fweb%2Fwiklou.git Correct whitespace and parentheses typos in BlockLogFormatter Change-Id: I9e79e9d274e8ed1fa94966f5e1ac01f8fcd6d96b --- diff --git a/includes/logging/BlockLogFormatter.php b/includes/logging/BlockLogFormatter.php index 84cf0b2f4b..ddecf9ead5 100644 --- a/includes/logging/BlockLogFormatter.php +++ b/includes/logging/BlockLogFormatter.php @@ -77,8 +77,8 @@ class BlockLogFormatter extends LogFormatter { // block restrictions if ( isset( $params[6] ) ) { $pages = $params[6]['pages'] ?? []; - $pages = array_map( function ( $page ){ - return $this->makePageLink( Title::newFromText( ( $page ) ) ); + $pages = array_map( function ( $page ) { + return $this->makePageLink( Title::newFromText( $page ) ); }, $pages ); $namespaces = $params[6]['namespaces'] ?? [];