Completed
Pull Request — master (#3)
by
unknown
07:02
created
src/Driver/Ftp.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -29,6 +29,9 @@
 block discarded – undo
29 29
 		return $this->hostUrl . '/' . Upload\Utils::makeRelativePath($relativePath);
30 30
 	}
31 31
 
32
+	/**
33
+	 * @param string $relativePath
34
+	 */
32 35
 	public function isFileExists($relativePath)
33 36
 	{
34 37
 		return $this->ftp->fileExists(Upload\Utils::makeRelativePath($relativePath));
Please login to merge, or discard this patch.
src/Upload/SanitizedFileName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 		$name = $fileUpload->getSanitizedName();
22 22
 
23 23
 		//if we call moretimes, name is not unique, generate another one
24
-		if($this->called !== 0) {
24
+		if ($this->called !== 0) {
25 25
 			$parts = pathinfo($name);
26 26
 			$name = $parts['filename'] . $this->called . '.' . $parts['extension'];
27 27
 		}
Please login to merge, or discard this patch.