Skip to content

Commit

Permalink
fix sniffs MediaWiki.WhiteSpace.SpaceyParenthesis:
Browse files Browse the repository at this point in the history
- SingleSpaceAfterOpenParenthesis
- SingleSpaceAfterCloseParenthesis
  • Loading branch information
gesinn-it-ilm committed Jul 23, 2024
1 parent 05c743f commit cab38d7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions formats/datatables/Api.php
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public function execute() {
}
}

$smwgQMaxSize = $this->getConfig()->get('smwgQMaxSize');
$smwgQMaxSize = $this->getConfig()->get( 'smwgQMaxSize' );

if ( !count( $queryDisjunction ) ) {
$queryDisjunction = [ '' ];
Expand Down Expand Up @@ -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 ) ) {
Expand Down

0 comments on commit cab38d7

Please sign in to comment.