Completed
Push — master ( 8d8d40...93822b )
by Nicolas
14s queued 11s
created
src/Gaufrette/Adapter/DoctrineDbal.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -152,6 +152,10 @@
 block discarded – undo
152 152
         return false;
153 153
     }
154 154
 
155
+    /**
156
+     * @param string $key
157
+     * @param string $column
158
+     */
155 159
     private function getColumnValue($key, $column)
156 160
     {
157 161
         $value = $this->connection->fetchColumn(
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
 
184 184
         return array(
185 185
             'dirs' => array(),
186
-            'keys' => array_map(function ($value) {
186
+            'keys' => array_map(function($value) {
187 187
                     return $value['_key'];
188 188
                 },
189 189
                 $keys),
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Dropbox.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -162,6 +162,9 @@
 block discarded – undo
162 162
         }
163 163
     }
164 164
 
165
+    /**
166
+     * @param string $key
167
+     */
165 168
     private function getDropboxMetadata($key)
166 169
     {
167 170
         try {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/GoogleCloudStorage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -349,6 +349,9 @@
 block discarded – undo
349 349
         }
350 350
     }
351 351
 
352
+    /**
353
+     * @param string $key
354
+     */
352 355
     protected function computePath($key)
353 356
     {
354 357
         if (empty($this->options['directory'])) {
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/MogileFS.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -89,7 +89,7 @@
 block discarded – undo
89 89
 
90 90
                 if ($status) {
91 91
                     $params = array('key' => $key, 'class' => $metadata['mogile_class'], 'devid' => $res['devid'],
92
-                                    'fid' => $res['fid'], 'path' => urldecode($res['path']), );
92
+                                    'fid' => $res['fid'], 'path' => urldecode($res['path']),);
93 93
                     $closeres = $this->doRequest('CREATE_CLOSE', $params);
94 94
                 }
95 95
             }
Please login to merge, or discard this patch.
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
     /**
251 251
      * Makes request to MogileFS tracker.
252 252
      *
253
-     * @param cmd Command
253
+     * @param cmd string
254 254
      * @param args Array of arguments
255 255
      *
256 256
      * @return mixed Array on success, false on failure
@@ -302,7 +302,7 @@  discard block
 block discarded – undo
302 302
     /**
303 303
      * Get file location at server from MogileFS tracker.
304 304
      *
305
-     * @param key File key
305
+     * @param key string key
306 306
      *
307 307
      * @return mixed Array on success, false on failure
308 308
      */
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
      * Sends file to MogileFS tracker.
319 319
      *
320 320
      * @param path Save path at server
321
-     * @param data Data to save
321
+     * @param data string to save
322 322
      *
323 323
      * @return bool
324 324
      */
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Flysystem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
      */
59 59
     public function keys()
60 60
     {
61
-        return array_map(function ($content) {
61
+        return array_map(function($content) {
62 62
             return $content['path'];
63 63
         }, $this->adapter->listContents());
64 64
     }
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Ftp.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
         $this->ensureDirectoryExists($this->directory, $this->create);
122 122
 
123 123
         $file  = $this->computePath($key);
124
-        $lines = ftp_rawlist($this->getConnection(), '-al ' . \Gaufrette\Util\Path::dirname($file));
124
+        $lines = ftp_rawlist($this->getConnection(), '-al '.\Gaufrette\Util\Path::dirname($file));
125 125
 
126 126
         if (false === $lines) {
127 127
             return false;
@@ -526,7 +526,7 @@  discard block
 block discarded – undo
526 526
         }
527 527
 
528 528
         // enable utf8 mode if configured
529
-        if($this->utf8 == true) {
529
+        if ($this->utf8 == true) {
530 530
             ftp_raw($this->connection, "OPTS UTF8 ON");
531 531
         }
532 532
 
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Apc.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
      * @param string $key    - by default ''
139 139
      * @param int    $format - by default APC_ITER_NONE
140 140
      *
141
-     * @return \APCIterator
141
+     * @return \Traversable
142 142
      */
143 143
     protected function getCachedKeysIterator($key = '', $format = APC_ITER_NONE)
144 144
     {
Please login to merge, or discard this patch.
src/Gaufrette/Adapter/Zip.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -135,7 +135,7 @@
 block discarded – undo
135 135
      * Returns the stat of a file in the zip archive
136 136
      *  (name, index, crc, mtime, compression size, compression method, filesize).
137 137
      *
138
-     * @param $key
138
+     * @param string $key
139 139
      *
140 140
      * @return array|bool
141 141
      */
Please login to merge, or discard this patch.