Passed
Push — master ( feec22...d030f3 )
by Milan
01:50
created
src/Download.php 1 patch
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Upload;
4 4
 
5
-use Nette\Application,
6
-	Nette\Http;
5
+use Nette\Application;
6
+use Nette\Http;
7 7
 
8 8
 class Download
9 9
 {
Please login to merge, or discard this patch.
src/Driver/Ftp.php 2 patches
Unused Use Statements   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace h4kuna\Upload\Driver;
4 4
 
5
-use h4kuna\Upload,
6
-	Nette\Http;
5
+use h4kuna\Upload;
6
+use Nette\Http;
7 7
 
8 8
 class Ftp implements Upload\IDriver
9 9
 {
Please login to merge, or discard this patch.
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -28,6 +28,9 @@
 block discarded – undo
28 28
 	}
29 29
 
30 30
 
31
+	/**
32
+	 * @param string $relativePath
33
+	 */
31 34
 	public function isFileExists($relativePath)
32 35
 	{
33 36
 		return $this->ftp->fileExists(Upload\Utils::makeRelativePath($relativePath));
Please login to merge, or discard this patch.
src/DI/UploadExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
 	public function loadConfiguration()
33 33
 	{
34 34
 		$builder = $this->getContainerBuilder();
35
-		$config = $this->config + $this->defaults;;
35
+		$config = $this->config + $this->defaults; ;
36 36
 		if (!is_array($config['destinations'])) {
37 37
 			if ($config['destinations']) {
38 38
 				$config['destinations'] = ['default' => $config['destinations']];
Please login to merge, or discard this patch.