Completed
Pull Request — master (#32)
by Michael
07:31
created
src/OpensslKey.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,7 @@  discard block
 block discarded – undo
94 94
      */
95 95
     public function authenticationKey(): string
96 96
     {
97
-        return $this->deriveKey(__FUNCTION__ . '|' . $this->_algo);
97
+        return $this->deriveKey(__FUNCTION__.'|'.$this->_algo);
98 98
     }
99 99
 
100 100
     /**
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function encryptionKey(): string
106 106
     {
107
-        return $this->deriveKey(__FUNCTION__ . '|' . $this->_algo);
107
+        return $this->deriveKey(__FUNCTION__.'|'.$this->_algo);
108 108
     }
109 109
 
110 110
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -65,8 +65,7 @@
 block discarded – undo
65 65
         string $algo,
66 66
         string $key,
67 67
         string $ivr = ''
68
-    )
69
-    {
68
+    ) {
70 69
         // Store the key as what was supplied
71 70
         $this->_key = \base64_decode($key, true);
72 71
 
Please login to merge, or discard this patch.
src/OpensslStatic.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -121,6 +121,6 @@
 block discarded – undo
121 121
         $chk = $key->messageChecksum($msg);
122 122
 
123 123
         // Return concatenation of iv + checksum + tag + ciphertext
124
-        return $ivr . $chk . $tag . $msg;
124
+        return $ivr.$chk.$tag.$msg;
125 125
     }
126 126
 }
Please login to merge, or discard this patch.