Completed
Pull Request — master (#229)
by Timothy
03:59
created
lib/Doctrine/Common/Cache/CouchbaseBucketCache.php 2 patches
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.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
     }
198 198
 
199 199
     /**
200
-     * @param mixed $value
200
+     * @param string $value
201 201
      * @return string
202 202
      */
203 203
     private function encode($value) :string
Please login to merge, or discard this patch.