From ac8ef3192368c48c3240aa1f6df2fb589441580a Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Thu, 14 Nov 2013 19:40:13 +0100 Subject: [PATCH] Fix the fix: "? :" -> "?:" Change-Id: Icdbb200faf2ee5c7c6a0095987f76a2bc1b4e5e7 --- includes/api/ApiMain.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/api/ApiMain.php b/includes/api/ApiMain.php index 61577cb0cd..c301e9eb72 100644 --- a/includes/api/ApiMain.php +++ b/includes/api/ApiMain.php @@ -951,7 +951,7 @@ class ApiMain extends ApiBase { // Printer has not yet executed; don't warn that its parameters are unused $printerParams = array_map( array( $this->mPrinter, 'encodeParamName' ), - array_keys( $this->mPrinter->getFinalParams() ? : array() ) + array_keys( $this->mPrinter->getFinalParams() ?: array() ) ); $unusedParams = array_diff( $allParams, $paramsUsed, $printerParams ); } else { -- 2.20.1