Completed
Push — master ( 530e90...d52c01 )
by Stephan
02:28
created
src/SimpleBatchUpload.alias.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
 /** English
28 28
  * @author <your username>
29 29
  */
30
-$specialPageAliases['en'] = array(
30
+$specialPageAliases[ 'en' ] = array(
31 31
 	'BatchUpload' => array( 'BatchUpload' ),
32 32
 );
Please login to merge, or discard this patch.
src/SimpleBatchUpload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -61,7 +61,7 @@
 block discarded – undo
61 61
 
62 62
 		$moduleDescription = [
63 63
 			'scripts' => [ '/vendor/blueimp/jquery-file-upload/js/jquery.fileupload.js' ],
64
-			'styles'       => [	'/vendor/blueimp/jquery-file-upload/css/jquery.fileupload.css' ],
64
+			'styles'       => [ '/vendor/blueimp/jquery-file-upload/css/jquery.fileupload.css' ],
65 65
 			'position'     => 'top',
66 66
 			'dependencies' => [ 'jquery.ui.widget' ],
67 67
 		];
Please login to merge, or discard this patch.
src/ParameterProvider.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
 	private $parameterIndex;
38 38
 	private $parameters = null;
39 39
 
40
+	/**
41
+	 * @param null|string $parameterIndex
42
+	 */
40 43
 	public function __construct( $parameterIndex ) {
41 44
 		$this->parameterIndex = $parameterIndex;
42 45
 	}
@@ -60,6 +63,9 @@  discard block
 block discarded – undo
60 63
 		return $this->parameters[ $key ];
61 64
 	}
62 65
 
66
+	/**
67
+	 * @param string $pagetext
68
+	 */
63 69
 	private function setParameters( $pagetext, $comment, $title ) {
64 70
 		$this->parameters = [
65 71
 			'pagetext' => $pagetext,
@@ -68,6 +74,9 @@  discard block
 block discarded – undo
68 74
 		];
69 75
 	}
70 76
 
77
+	/**
78
+	 * @param string $key
79
+	 */
71 80
 	private function getEscapedParameter( $key ) {
72 81
 		return $this->escape( $this->getParameter( $key ) );
73 82
 	}
Please login to merge, or discard this patch.
src/SpecialBatchUpload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
         <!-- The file input field used as target for the file upload widget -->
72 72
         <input id="fileupload" type="file" name="file" multiple
73 73
             data-url="' . wfScript( 'api' ) . '"
74
-            data-comment="' . $paramProvider->getEscapedUploadComment() .'"
74
+            data-comment="' . $paramProvider->getEscapedUploadComment() . '"
75 75
             data-text="' . $paramProvider->getEscapedUploadPageText() . '"
76 76
         >
77 77
         </span><ul id="fileupload-results"></ul>';
Please login to merge, or discard this patch.