Completed
Pull Request — master (#33)
by Emily
06:12
created
src/Adapter/LocalStorage.php 1 patch
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -25,6 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     /**
27 27
      * Constructor for LocalStorage adapter
28
+     * @param \Symfony\Component\Filesystem\Filesystem $service
28 29
      */
29 30
     public function __construct($service, array $parameters, $localTmpDir)
30 31
     {
@@ -123,6 +124,10 @@  discard block
 block discarded – undo
123 124
         $this->service->mkdir($this->absolutePath.'/'.$dir);
124 125
     }
125 126
 
127
+    /**
128
+     * @param string $originFile
129
+     * @param string $targetFile
130
+     */
126 131
     public function copy($originFile, $targetFile)
127 132
     {
128 133
         $originFile = $this->pathOrUrlToPath($originFile);
@@ -220,7 +225,7 @@  discard block
 block discarded – undo
220 225
 
221 226
     /**
222 227
      * @param  string $input
223
-     * @return array  The path to the file inside the file system. Does not contain a preceding
228
+     * @return string  The path to the file inside the file system. Does not contain a preceding
224 229
      *                slash.
225 230
      */
226 231
     private function pathOrUrlToPath($input)
Please login to merge, or discard this patch.
src/Factory/FileSystemFactory.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,6 +16,10 @@  discard block
 block discarded – undo
16 16
     private $config;
17 17
     private $tmpDir;
18 18
 
19
+    /**
20
+     * @param string $defaultFileSystem
21
+     * @param string $tmpDir
22
+     */
19 23
     public function __construct($defaultFileSystem, $config, $tmpDir = null)
20 24
     {
21 25
         $this->defaultFileSystem = $defaultFileSystem;
@@ -24,6 +28,7 @@  discard block
 block discarded – undo
24 28
     }
25 29
 
26 30
     /**
31
+     * @param string $adapterName
27 32
      * @return \Partnermarketing\FileSystemBundle\Adapter\AdapterInterface
28 33
      */
29 34
     public function build($adapterName = null)
Please login to merge, or discard this patch.