@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * Decrypts the given data. |
|
60 | + * Decrypts the given data. |
|
61 | 61 | * |
62 | 62 | * @param String $data Data to decrypt. |
63 | 63 | * |
@@ -57,7 +57,7 @@ |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * Decrypts the given data. |
|
60 | + * Decrypts the given data. |
|
61 | 61 | * |
62 | 62 | * @param String $data Data to decrypt. |
63 | 63 | * |
@@ -83,7 +83,7 @@ discard block |
||
83 | 83 | private function getUserSecret($userId) |
84 | 84 | { |
85 | 85 | $sth = $this->handle->prepare("SELECT secret FROM ".$this->tableName." WHERE userid = ?"); |
86 | - if($sth->execute(array($userId))) { |
|
86 | + if ($sth->execute(array($userId))) { |
|
87 | 87 | return $sth->fetchColumn(); |
88 | 88 | } |
89 | 89 | $this->logger->error('Unable to retrieve user secret from user secret storage (PDO)'); |
@@ -102,7 +102,7 @@ discard block |
||
102 | 102 | } else { |
103 | 103 | $sth = $this->handle->prepare("INSERT INTO ".$this->tableName." (secret,userid) VALUES (?,?)"); |
104 | 104 | } |
105 | - if (!$sth->execute(array($secret,$userId))) { |
|
105 | + if (!$sth->execute(array($secret, $userId))) { |
|
106 | 106 | $this->logger->error('Unable to persist user secret in user secret storage (PDO)'); |
107 | 107 | } |
108 | 108 | } |