diff --git a/memcache.inc b/memcache.inc
index e40a838..51b8035 100644
--- a/memcache.inc
+++ b/memcache.inc
@@ -78,7 +78,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
       }
       // Finally, check for wildcard clears against this cid.
       else {
-        if (!$this->wildcard_valid($cid, $cache){
+        if (!$this->wildcard_valid($cid, $cache)) {
           $cache = FALSE;
         }
       }
@@ -246,7 +246,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
       // wildcard was "links:foo:", and the cid we're checking for is
       // "links:bar:bar", then the key will be "links:bar:".
       $wildcard_length = strlen(reset(array_keys($this->wildcard_flushes[$table])));
-      $wildcard_key = substr($cid, 0, $wildcard_length); 
+      $wildcard_key = substr($cid, 0, $wildcard_length);
 
       // Determine which lookups we need to perform to determine whether or not
       // our cid was impacted by a wildcard flush.
@@ -302,7 +302,7 @@ class MemCacheDrupal implements DrupalCacheInterface {
       // Defaults to 28 / 4, or one week.
       if (!isset($this->wildcard_flushes[$this->bin][$key][$length]) || ($_SERVER['REQUEST_TIME'] - $this->wildcard_flushes[$this->bin][$key][$length] > $wildcard_invalidate / 4)) {
 
-        // If there are more than 50 different wildcard keys for this bin 
+        // If there are more than 50 different wildcard keys for this bin
         // shorten the key by one, this should reduce variability by
         // an order of magnitude and ensure we don't use too much memory.
         if (isset($this->wildcard_flushes[$this->bin]) && count($this->wildcard_flushes[$this->bin]) > 50) {
