Completed
Pull Request — master (#32)
by Michael
07:21
created
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.
src/OpensslKey.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
      */
107 107
     public function authenticationKey(): string
108 108
     {
109
-        return $this->deriveKey(__FUNCTION__ . '|' . $this->_cipher);
109
+        return $this->deriveKey(__FUNCTION__.'|'.$this->_cipher);
110 110
     }
111 111
 
112 112
     /**
@@ -116,7 +116,7 @@  discard block
 block discarded – undo
116 116
      */
117 117
     public function encryptionKey(): string
118 118
     {
119
-        return $this->deriveKey(__FUNCTION__ . '|' . $this->_cipher);
119
+        return $this->deriveKey(__FUNCTION__.'|'.$this->_cipher);
120 120
     }
121 121
 
122 122
     /**
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -75,8 +75,7 @@
 block discarded – undo
75 75
         string $algo,
76 76
         string $cipher = '',
77 77
         string $iv = ''
78
-    )
79
-    {
78
+    ) {
80 79
         // Store the key as what was supplied
81 80
         $this->_key = \base64_decode($key, true);
82 81
 
Please login to merge, or discard this patch.