Passed
Pull Request — master (#14)
by Derek Stephen
14:50 queued 04:50
created
src/Field/FileUpload.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
         $path = realpath($path);
63 63
 
64 64
         if (!is_dir($path) || !is_writable($path)) {
65
-            throw new InvalidArgumentException('Directory ' . $path . ' does not exist or is not writable.');
65
+            throw new InvalidArgumentException('Directory '.$path.' does not exist or is not writable.');
66 66
         }
67 67
 
68 68
         $this->uploadDirectory = $path;
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
         }
95 95
 
96 96
         $tmp = $this->files[$this->getName()]['tmp_name'];
97
-        $destination = $this->getUploadDirectory() . DIRECTORY_SEPARATOR . $this->files[$this->getName()]['name'];
97
+        $destination = $this->getUploadDirectory().DIRECTORY_SEPARATOR.$this->files[$this->getName()]['name'];
98 98
         $success = \move_uploaded_file($tmp, $destination);
99 99
 
100 100
         return $success;
Please login to merge, or discard this patch.