Completed
Branch develop (f31067)
by Siad
02:44
created
src/Cache/Storage/Adapter/Couchbase.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -147,8 +147,8 @@
 block discarded – undo
147 147
     /**
148 148
      * Set options.
149 149
      *
150
-     * @param  array|\Traversable|CouchbaseOptions $options
151
-     * @return \CouchbaseCluster
150
+     * @param  CouchbaseOptions $options
151
+     * @return AbstractAdapter
152 152
      * @see    getOptions()
153 153
      */
154 154
     public function setOptions($options)
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -58,7 +58,7 @@
 block discarded – undo
58 58
         parent::__construct($options);
59 59
         // reset initialized flag on update option(s)
60 60
         $initialized = &$this->initialized;
61
-        $this->getEventManager()->attach('option', function () use (& $initialized) {
61
+        $this->getEventManager()->attach('option', function() use (& $initialized) {
62 62
             $initialized = false;
63 63
         });
64 64
     }
Please login to merge, or discard this patch.
src/Cache/Storage/Adapter/CouchbaseResourceManager.php 2 patches
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -368,6 +368,9 @@  discard block
 block discarded – undo
368 368
         return $this;
369 369
     }
370 370
 
371
+    /**
372
+     * @param string $id
373
+     */
371 374
     public function getUsername($id)
372 375
     {
373 376
         if (!$this->hasResource($id)) {
@@ -405,6 +408,9 @@  discard block
 block discarded – undo
405 408
         return $this;
406 409
     }
407 410
 
411
+    /**
412
+     * @param string $id
413
+     */
408 414
     public function getBucket($id)
409 415
     {
410 416
         if (!$this->hasResource($id)) {
@@ -442,6 +448,9 @@  discard block
 block discarded – undo
442 448
         return $this;
443 449
     }
444 450
 
451
+    /**
452
+     * @param string $id
453
+     */
445 454
     public function getPassword($id)
446 455
     {
447 456
         if (!$this->hasResource($id)) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
             }
203 203
             $key = constant($const);
204 204
         } else {
205
-            $key = (int) $key;
205
+            $key = (int)$key;
206 206
         }
207 207
     }
208 208
 
Please login to merge, or discard this patch.