From 5be7438ed63bcd381e28195b3a118c527a217f8d Mon Sep 17 00:00:00 2001 From: Thalia Date: Wed, 30 Jan 2019 22:17:18 -0800 Subject: [PATCH] Correct whitespace and parentheses typos in BlockLogFormatter Change-Id: I9e79e9d274e8ed1fa94966f5e1ac01f8fcd6d96b --- includes/logging/BlockLogFormatter.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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'] ?? []; -- 2.20.1