Passed
Pull Request — master (#17)
by
unknown
02:39
created
src/SimpleBatchUpload.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
 	 */
50 50
 	public function getConfiguration() {
51 51
 
52
-		$configuration = [];
52
+		$configuration = [ ];
53 53
 
54 54
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadAlias' ] = __DIR__ . '/SimpleBatchUpload.alias.php';
55 55
 		$configuration[ 'wgExtensionMessagesFiles' ][ 'SimpleBatchUploadMagic' ] = __DIR__ . '/SimpleBatchUpload.magic.php';
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
 	 * @param \OutputPage $out
146 146
 	 */
147 147
 	public function onMakeGlobalVariablesScript( &$vars, $out ) {
148
-		$vars['simpleBatchUploadMaxFilesPerBatch'] = $this->getMaxFilesPerBatch();
148
+		$vars[ 'simpleBatchUploadMaxFilesPerBatch' ] = $this->getMaxFilesPerBatch();
149 149
 	}
150 150
 
151 151
 	/**
@@ -153,7 +153,7 @@  discard block
 block discarded – undo
153 153
 	 */
154 154
 	public function getMaxFilesPerBatch() {
155 155
 		global $wgSimpleBatchUploadMaxFilesPerBatch;
156
-		if( $this->maxFilesPerBatchConfig === null ) {
156
+		if ( $this->maxFilesPerBatchConfig === null ) {
157 157
 			$this->maxFilesPerBatchConfig = $wgSimpleBatchUploadMaxFilesPerBatch;
158 158
 		}
159 159
 		return $this->maxFilesPerBatchConfig;
Please login to merge, or discard this patch.