Completed
Pull Request — master (#177)
by
unknown
04:19
created
lib/Doctrine/Common/Cache/CacheProvider.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@  discard block
 block discarded – undo
182 182
      */
183 183
     private function getNamespacedId($id)
184 184
     {
185
-        $namespaceVersion  = $this->getNamespaceVersion();
185
+        $namespaceVersion = $this->getNamespaceVersion();
186 186
 
187 187
         return sprintf('%s[%s][%s]', $this->namespace, $id, $namespaceVersion);
188 188
     }
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
         $namespaceCacheKey = $this->getNamespaceCacheKey();
212 212
         $this->namespaceVersion = $this->doFetch($namespaceCacheKey);
213 213
 
214
-        if (!$this->namespaceVersion) {
214
+        if ( ! $this->namespaceVersion) {
215 215
             $this->namespaceVersion = 1;
216 216
             $this->doSave($namespaceCacheKey, 1);
217 217
         }
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
         $success = true;
271 271
 
272 272
         foreach ($keysAndValues as $key => $value) {
273
-            if (!$this->doSave($key, $value, $lifetime)) {
273
+            if ( ! $this->doSave($key, $value, $lifetime)) {
274 274
                 $success = false;
275 275
             }
276 276
         }
Please login to merge, or discard this patch.