Passed
Pull Request — develop (#32)
by Pieter van der
06:19
created
library/tiqr/Tiqr/UserSecretStorage/Pdo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
     {
41 41
         $this->tablename = isset($config['table']) ? $config['table'] : 'tiqrusersecret';
42 42
         try {
43
-            $this->handle = new PDO($config['dsn'],$config['username'],$config['password']);
43
+            $this->handle = new PDO($config['dsn'], $config['username'], $config['password']);
44 44
         } catch (PDOException $e) {
45 45
             return false;
46 46
         }
@@ -73,6 +73,6 @@  discard block
 block discarded – undo
73 73
         } else {
74 74
             $sth = $this->handle->prepare("INSERT INTO ".$this->tablename." (secret,userid) VALUES (?,?)");
75 75
         }
76
-        $sth->execute(array($secret,$userId));
76
+        $sth->execute(array($secret, $userId));
77 77
     }
78 78
 }
Please login to merge, or discard this patch.