Passed
Pull Request — master (#229)
by Timothy
05:24
created
lib/Doctrine/Common/Cache/CouchbaseBucketCache.php 2 patches
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -186,7 +186,7 @@  discard block
 block discarded – undo
186 186
     }
187 187
 
188 188
     /**
189
-     * @param $id
189
+     * @param string $id
190 190
      * @return bool|string
191 191
      */
192 192
     private function normalizeKey($id)
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
     }
203 203
 
204 204
     /**
205
-     * @param mixed $value
205
+     * @param string $value
206 206
      * @return mixed
207 207
      */
208 208
     private function encode($value)
Please login to merge, or discard this patch.
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
     {
42 42
         $this->bucket = $bucket;
43 43
 
44
-        if (!is_callable([$bucket, 'manager'])) {
44
+        if ( ! is_callable([$bucket, 'manager'])) {
45 45
             // Manager is required to flush cache and pull stats.
46 46
             throw new \RuntimeException('ext-couchbase:^2.3.0 is required.');
47 47
         }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         }
84 84
 
85 85
         if ($document instanceof Document) {
86
-            return !$document->error;
86
+            return ! $document->error;
87 87
         }
88 88
 
89 89
         return false;
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
         }
113 113
 
114 114
         if ($document instanceof Document) {
115
-            return !$document->error;
115
+            return ! $document->error;
116 116
         }
117 117
 
118 118
         return false;
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
         }
138 138
 
139 139
         if ($document instanceof Document) {
140
-            return !$document->error;
140
+            return ! $document->error;
141 141
         }
142 142
 
143 143
         return false;
Please login to merge, or discard this patch.