Completed
Pull Request — master (#427)
by
unknown
13:13
created
src/Gaufrette/Adapter/GoogleCloudStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -145,6 +145,9 @@
 block discarded – undo
145 145
         return isset($this->metadata[$key]) ? $this->metadata[$key] : array();
146 146
     }
147 147
 
148
+    /**
149
+     * @param string $key
150
+     */
148 151
     private function find($key, array $fields = array())
149 152
     {
150 153
         return $this->gridFS->findOne($key, $fields);
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/OpenCloud.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      *
85 85
      * @param string $key
86 86
      *
87
-     * @return string|bool if cannot read content
87
+     * @return string if cannot read content
88 88
      */
89 89
     public function read($key)
90 90
     {
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
      *
157 157
      * @param string $key
158 158
      *
159
-     * @return int|bool An UNIX like timestamp or false
159
+     * @return string|false An UNIX like timestamp or false
160 160
      */
161 161
     public function mtime($key)
162 162
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/GoogleCloudClientStorage.php 1 patch
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.