Completed
Pull Request — master (#23)
by Zac
02:06
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
@@ -17,6 +17,10 @@  discard block
 block discarded – undo
17 17
     private $config;
18 18
     private $tmpDir;
19 19
 
20
+    /**
21
+     * @param string $defaultFileSystem
22
+     * @param string $tmpDir
23
+     */
20 24
     public function __construct($defaultFileSystem, $config, $tmpDir)
21 25
     {
22 26
         $this->defaultFileSystem = $defaultFileSystem;
@@ -25,6 +29,7 @@  discard block
 block discarded – undo
25 29
     }
26 30
 
27 31
     /**
32
+     * @param string $adapterName
28 33
      * @return \Partnermarketing\FileSystemBundle\Adapter\AdapterInterface
29 34
      */
30 35
     public function build($adapterName = null)
Please login to merge, or discard this patch.