Passed
Pull Request — develop (#50)
by Pieter van der
03:25
created
library/tiqr/Tiqr/UserSecretStorage/Encryption/Plain.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -57,7 +57,7 @@
 block discarded – undo
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
      *
Please login to merge, or discard this patch.
library/tiqr/Tiqr/UserSecretStorage.php 2 patches
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
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.
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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())
Please login to merge, or discard this patch.