Completed
Pull Request — master (#21)
by Jeroen De
07:43
created
SemanticCompoundQueries.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,15 +15,15 @@  discard block
 block discarded – undo
15 15
  * @defgroup SemanticCompoundQueries SemanticCompoundQueries
16 16
  */
17 17
 
18
-if ( !defined( 'MEDIAWIKI' ) ) die();
18
+if (!defined('MEDIAWIKI')) die();
19 19
 
20
-define( 'SCQ_VERSION', '1.0' );
20
+define('SCQ_VERSION', '1.0');
21 21
 
22 22
 $wgExtensionCredits['semantic'][] = array(
23 23
 	'path' => __FILE__,
24 24
 	'name' => 'Semantic Compound Queries',
25 25
 	'version' => SCQ_VERSION,
26
-	'author' => array( 'Yaron Koren' ),
26
+	'author' => array('Yaron Koren'),
27 27
 	'url' => 'https://www.mediawiki.org/wiki/Extension:Semantic_Compound_Queries',
28 28
 	'descriptionmsg' => 'semanticcompoundqueries-desc',
29 29
 	'license-name' => 'GPL-2.0+'
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
 
41 41
 $wgAPIModules['compoundquery'] = '\SCQCompoundQueryApi';
42 42
 
43
-function scqgRegisterParser( Parser &$parser ) {
44
-	$parser->setFunctionHook( 'compound_query', array( 'SCQQueryProcessor', 'doCompoundQuery' ) );
43
+function scqgRegisterParser(Parser&$parser) {
44
+	$parser->setFunctionHook('compound_query', array('SCQQueryProcessor', 'doCompoundQuery'));
45 45
 	return true; // always return true, in order not to stop MW's hook processing!
46 46
 }
Please login to merge, or discard this patch.