Completed
Pull Request — master (#427)
by
unknown
13:13
created
src/Gaufrette/Adapter/GoogleCloudClientStorage.php 2 patches
Doc Comments   +8 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@  discard block
 block discarded – undo
23 23
     protected $resource = array();
24 24
 
25 25
     /**
26
-     * @param Google\Cloud\Storage\StorageClient    $service    Authenticated storage client class
27 26
      * @param string                                $bucketName Name of the bucket
28 27
      * @param array                                 $options    Options are: "directory" and "acl" (see https://cloud.google.com/storage/docs/access-control/lists)
29 28
      */
@@ -60,6 +59,11 @@  discard block
 block discarded – undo
60 59
         $this->options = array_replace($this->options, $options);
61 60
     }
62 61
     
62
+    /**
63
+     * @param string $key
64
+     *
65
+     * @return string
66
+     */
63 67
     protected function computePath($key)
64 68
     {
65 69
         if (strlen($this->options['directory']))
@@ -85,6 +89,9 @@  discard block
 block discarded – undo
85 89
         return true;
86 90
     }
87 91
     
92
+    /**
93
+     * @param string $name
94
+     */
88 95
     public function setBucket($name)
89 96
     {
90 97
         $this->bucketValidated = null;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
      */
159 159
     public function isDirectory($key)
160 160
     {
161
-        if ($this->exists($key . '/'))
161
+        if ($this->exists($key.'/'))
162 162
         {
163 163
             return true;
164 164
         }
Please login to merge, or discard this patch.