Completed
Push — master ( 71bce5...79e63b )
by Daniel
02:59
created
code/MimeUploadValidator.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,10 +29,10 @@
 block discarded – undo
29 29
 	 * @return boolean|null
30 30
 	 */
31 31
 	public function isValidMime() {
32
-                $extension = strtolower(pathinfo($this->tmpFile['name'], PATHINFO_EXTENSION));
32
+				$extension = strtolower(pathinfo($this->tmpFile['name'], PATHINFO_EXTENSION));
33 33
 
34
-                // we can't check filenames without an extension or no temp file path, let them pass validation.
35
-                if(!$extension || !$this->tmpFile['tmp_name']) return true;
34
+				// we can't check filenames without an extension or no temp file path, let them pass validation.
35
+				if(!$extension || !$this->tmpFile['tmp_name']) return true;
36 36
 
37 37
 		$expectedMimes = $this->getExpectedMimeTypes($this->tmpFile);
38 38
 		if(empty($expectedMimes)) {
Please login to merge, or discard this patch.