From cab38d77dd5182a704342a860c1454c6402c76c2 Mon Sep 17 00:00:00 2001 From: gesinn-it-ilm Date: Tue, 23 Jul 2024 13:13:57 +0200 Subject: [PATCH] fix sniffs MediaWiki.WhiteSpace.SpaceyParenthesis: - SingleSpaceAfterOpenParenthesis - SingleSpaceAfterCloseParenthesis --- formats/datatables/Api.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/formats/datatables/Api.php b/formats/datatables/Api.php index dfa42509..e8f65954 100644 --- a/formats/datatables/Api.php +++ b/formats/datatables/Api.php @@ -237,7 +237,7 @@ public function execute() { } } - $smwgQMaxSize = $this->getConfig()->get('smwgQMaxSize'); + $smwgQMaxSize = $this->getConfig()->get( 'smwgQMaxSize' ); if ( !count( $queryDisjunction ) ) { $queryDisjunction = [ '' ]; @@ -276,8 +276,8 @@ public function execute() { // or SMW_OUTPUT_RAW $res = $printer->getResult( $results, $queryParams, SMW_OUTPUT_FILE ); - $smwgQMaxLimit = $this->getConfig()->get('smwgQMaxLimit'); - $smwgQMaxInlineLimit = $this->getConfig()->get('smwgQMaxInlineLimit'); + $smwgQMaxLimit = $this->getConfig()->get( 'smwgQMaxLimit' ); + $smwgQMaxInlineLimit = $this->getConfig()->get( 'smwgQMaxInlineLimit' ); // get count if ( !empty( $datatableData['search']['value'] ) || count( $queryConjunction ) ) {