@@ -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 | * |
@@ -97,7 +97,7 @@ |
||
| 97 | 97 | * ), |
| 98 | 98 | * ) |
| 99 | 99 | * ); |
| 100 | - * |
|
| 100 | + * |
|
| 101 | 101 | * |
| 102 | 102 | * @return Tiqr_UserSecretStorage_Interface |
| 103 | 103 | * @throws RuntimeException If an unknown type is requested. |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | { |
| 108 | 108 | $encryption = null; |
| 109 | 109 | $decryption = []; |
| 110 | - if ( $type != 'oathserviceclient') { |
|
| 110 | + if ($type != 'oathserviceclient') { |
|
| 111 | 111 | // Create encryption instance |
| 112 | 112 | // If not provided in config, we fall back to dummy/plain (no) encryption |
| 113 | 113 | $encryptionType = $options['encryption']['type'] ?? 'plain'; |
@@ -148,7 +148,7 @@ discard block |
||
| 148 | 148 | $password = $options['password']; |
| 149 | 149 | |
| 150 | 150 | try { |
| 151 | - $handle = new PDO($dsn, $userName, $password, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION) ); |
|
| 151 | + $handle = new PDO($dsn, $userName, $password, array(PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION)); |
|
| 152 | 152 | } catch (PDOException $e) { |
| 153 | 153 | $logger->error( |
| 154 | 154 | sprintf('Unable to establish a PDO connection. Error message from PDO: %s', $e->getMessage()) |