Completed
Push — master ( 5061a1...1854c4 )
by Stephan
11s queued 11s
created
src/SimpleBatchUpload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
 	 */
59 59
 	public function getConfiguration() {
60 60
 
61
-		$configuration = [];
61
+		$configuration = [ ];
62 62
 
63 63
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadAlias' ] = __DIR__ . '/SimpleBatchUpload.alias.php';
64 64
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadMagic' ] = __DIR__ . '/SimpleBatchUpload.magic.php';
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
 
68 68
 		$configuration[ 'wgHooks' ][ 'ParserFirstCallInit' ][ 'ext.simplebatchupload' ] = [ $this, 'registerParserFunction' ];
69 69
 		$configuration[ 'wgHooks' ][ 'MakeGlobalVariablesScript' ][ 'ext.simplebatchupload' ] = [ $this, 'onMakeGlobalVariablesScript' ];
70
-		$configuration[ 'wgHooks' ][ 'SetupAfterCache' ][ 'ext.simplebatchupload' ] = [ $this, 'onSetupAfterCache'];
70
+		$configuration[ 'wgHooks' ][ 'SetupAfterCache' ][ 'ext.simplebatchupload' ] = [ $this, 'onSetupAfterCache' ];
71 71
 
72 72
 		return $configuration;
73 73
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
 	 * @param \OutputPage $out
139 139
 	 */
140 140
 	public function onMakeGlobalVariablesScript( &$vars, $out ) {
141
-		$vars['simpleBatchUploadMaxFilesPerBatch'] = $this->getMaxFilesPerBatchConfig();
141
+		$vars[ 'simpleBatchUploadMaxFilesPerBatch' ] = $this->getMaxFilesPerBatchConfig();
142 142
 	}
143 143
 
144 144
 	public function onSetupAfterCache() {
Please login to merge, or discard this patch.