diff --git a/src/Where/In.php b/src/Where/In.php
index <HASH>..<HASH> 100644
--- a/src/Where/In.php
+++ b/src/Where/In.php
@@ -20,6 +20,6 @@ class In extends AbstractWhere
         }
 
         $markers = array_fill(0, count($this->values), "?");
-        return "IN (" . implode(",", $markers) . ")";
+        return "IN (" . implode(", ", $markers) . ")";
     }
 }
diff --git a/tests/SqlTest.php b/tests/SqlTest.php
index <HASH>..<HASH> 100644
--- a/tests/SqlTest.php
+++ b/tests/SqlTest.php
@@ -470,7 +470,7 @@ class SqlTest extends \PHPUnit_Framework_TestCase
     {
         $this->sql->mode = "mysql";
 
-        $check = "`field1` IN(?,?) ";
+        $check = "`field1` IN (?, ?) ";
         $params = [0, 1];
 
         $where = [
Updated the whitespace handling of IN clauses