Completed
Pull Request — master (#548)
by Albin
05:45
created
src/Gaufrette/Adapter/PhpseclibSftp.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -187,6 +187,10 @@  discard block
 block discarded – undo
187 187
         $this->initialized = true;
188 188
     }
189 189
 
190
+    /**
191
+     * @param string|null $directory
192
+     * @param boolean $create
193
+     */
190 194
     protected function ensureDirectoryExists($directory, $create)
191 195
     {
192 196
         $pwd = $this->sftp->pwd();
@@ -201,6 +205,9 @@  discard block
 block discarded – undo
201 205
         }
202 206
     }
203 207
 
208
+    /**
209
+     * @param string $key
210
+     */
204 211
     protected function computePath($key)
205 212
     {
206 213
         return $this->directory.'/'.ltrim($key, '/');
Please login to merge, or discard this patch.